Initial Commit
This commit is contained in:
commit
4ad9cf1e4f
13
.SRCINFO
Normal file
13
.SRCINFO
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
pkgbase = rpm-builder
|
||||||
|
pkgdesc = Build rpms without a spec file. Pure Rust. No dependencies to librpm
|
||||||
|
pkgver = 0.4.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/Richterrettich/rpm-builder
|
||||||
|
arch = x86_64
|
||||||
|
license = Apache 2.0
|
||||||
|
makedepends = rust
|
||||||
|
source = https://codeload.github.com/Richterrettich/rpm-builder/tar.gz/0.4.0
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = rpm-builder
|
||||||
|
|
9
.editorconfig
Normal file
9
.editorconfig
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = false
|
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*
|
||||||
|
!PKGBUILD
|
||||||
|
!.gitignore
|
||||||
|
!.editorconfig
|
||||||
|
!.SRCINFO
|
22
PKGBUILD
Normal file
22
PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||||
|
|
||||||
|
pkgname=rpm-builder
|
||||||
|
pkgver=0.4.0
|
||||||
|
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 -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