fix(x86_64/rpm-builder): now with sig
This commit is contained in:
parent
c852b94645
commit
95b7f46dfa
3
x86_64/rpm-builder/.gitignore
vendored
Normal file
3
x86_64/rpm-builder/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!.gitignore
|
||||
!PKGBUILD
|
22
x86_64/rpm-builder/PKGBUILD
Normal file
22
x86_64/rpm-builder/PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
||||
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||
|
||||
pkgname=rpm-builder
|
||||
pkgver=0.4.0
|
||||
pkgrel=2
|
||||
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() {
|
||||
install -Dm755 "${srcdir}/${pkgname}-${pkgver}/target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||
install -Dm755 "${srcdir}/${pkgname}-${pkgver}/target/${pkgname}.bash" "${pkgdir}/etc/profile.d/${pkgname}.sh"
|
||||
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Reference in New Issue
Block a user