2019-12-11 20:19:50 +00:00
|
|
|
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
|
|
|
|
|
|
|
pkgname=rpm-builder
|
2019-12-12 20:55:27 +00:00
|
|
|
pkgver=0.4.1
|
|
|
|
pkgrel=1
|
2019-12-11 20:19:50 +00:00
|
|
|
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')
|
|
|
|
makedepends=('rust')
|
|
|
|
source=("https://codeload.github.com/Richterrettich/rpm-builder/tar.gz/${pkgver}")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
make -C "${srcdir}/${pkgname}-${pkgver}" build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-12-12 21:31:51 +00:00
|
|
|
install -D --mode=0644 "${srcdir}/${pkgname}-${pkgver}/target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
|
|
|
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"
|
2019-12-11 20:19:50 +00:00
|
|
|
}
|