jobcore/run-parts/PKGBUILD

53 lines
1.5 KiB
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
2022-03-20 13:19:37 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
2022-03-20 13:19:37 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=run-parts
pkgver=5.17
pkgrel=01
2022-03-20 13:19:37 +01:00
pkgdesc='run scripts or programs in a directory'
url='https://packages.qa.debian.org/d/debianutils.html'
depends=('glibc')
makedepends=('po4a')
#source=("https://clint.pages.debian.net/debianutils-tarballs/artifacts/debianutils-${pkgver}.tar.gz"{,.sig})
source=("http://deb.debian.org/debian/pool/main/d/debianutils/debianutils_${pkgver}.tar.xz")
prepare() {
cd "$srcdir/debianutils-${pkgver}"
autoreconf -fi
}
2022-03-20 13:19:37 +01:00
build() {
cd "$srcdir/debianutils-${pkgver}"
./configure --prefix=/usr
make run-parts
make -C po4a
2022-03-20 13:19:37 +01:00
}
package() {
cd "$srcdir/debianutils-${pkgver}"
install -D -m0755 run-parts "${pkgdir}/usr/bin/run-parts"
install -D -m0644 run-parts.8 "${pkgdir}/usr/share/man/man8/run-parts.8"
for MAN in $(find po4a/ -name run-parts.8); do
install -D -m644 "${MAN}" "$pkgdir/usr/share/man/${MAN:5:2}/man8/run-parts.8"
2022-03-20 13:19:37 +01:00
done
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-03-20 13:19:37 +01:00
license=(GPL)
2022-03-20 13:19:37 +01:00
#validpgpkeys=('2100A32C46F895AF3A08783AF6D3495BB0AE9A02')
2022-03-20 13:19:37 +01:00
sha256sums=(367654878388f532cd8a897fe64766e2d57ae4c60da1d4d8f20dcdf2fb0cbde8) # debianutils-5.17.tar.xz
## 041c54b6d354681b669255d6f73489ca7b18a1252ba59e26c146b41ce89d0290 run-parts-5.17-01-x86_64.pkg.tar.lz