2019-12-10 17:54:04 +00:00
|
|
|
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
|
|
|
|
|
|
|
pkgname=rpm-builder
|
2020-08-19 06:57:53 +00:00
|
|
|
pkgver=0.7.0
|
2019-12-10 17:54:04 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Build rpms without a spec file. Pure Rust. No dependencies to librpm'
|
|
|
|
arch=('x86_64')
|
|
|
|
url=https://github.com/Richterrettich/rpm-builder
|
|
|
|
license=('Apache 2.0')
|
2020-04-23 07:17:30 +00:00
|
|
|
makedepends=('rustup')
|
2019-12-10 17:54:04 +00:00
|
|
|
source=("https://codeload.github.com/Richterrettich/rpm-builder/tar.gz/${pkgver}")
|
2020-08-19 06:57:53 +00:00
|
|
|
sha512sums=('f3ec9ae302adde706f20bf12c4ef4ee55999b1387d2a60e24e89683fc9f28dc57da4ff9fcdb3c28e885a5e9990f39d578db9a40e7118b46d38aa083eca89b888')
|
2019-12-10 17:54:04 +00:00
|
|
|
|
|
|
|
build() {
|
2020-04-23 07:17:30 +00:00
|
|
|
make --directory "${srcdir}/${pkgname}-${pkgver}" build
|
2019-12-10 17:54:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-02-16 18:50:53 +00:00
|
|
|
install -D --mode=0755 "${srcdir}/${pkgname}-${pkgver}/target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
2020-01-02 17:38:38 +00:00
|
|
|
install -D --mode=0755 "${srcdir}/${pkgname}-${pkgver}/target/${pkgname}.bash" "${pkgdir}/etc/bash_completion.d/${pkgname}.sh"
|
|
|
|
install -D --mode=0644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
2020-01-03 08:50:41 +00:00
|
|
|
}
|