fix(x86_64/rpm-builder): remove to initialize as submodule

This commit is contained in:
Markus Pesch 2020-01-02 18:37:11 +01:00
parent 9e9fb52c12
commit 8105fca1d3
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 0 additions and 25 deletions

View File

@ -1,3 +0,0 @@
*
!.gitignore
!PKGBUILD

View File

@ -1,22 +0,0 @@
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
pkgname=rpm-builder
pkgver=0.4.1
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')
makedepends=('rust')
source=("https://codeload.github.com/Richterrettich/rpm-builder/tar.gz/${pkgver}")
sha256sums=('SKIP')
build() {
make -C "${srcdir}/${pkgname}-${pkgver}" build
}
package() {
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"
}