52 lines
1.5 KiB
Bash
52 lines
1.5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=run-parts
|
|
pkgver=5.17
|
|
pkgrel=01
|
|
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
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/debianutils-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make run-parts
|
|
make -C po4a
|
|
}
|
|
|
|
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"
|
|
done
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL)
|
|
|
|
#validpgpkeys=('2100A32C46F895AF3A08783AF6D3495BB0AE9A02')
|
|
|
|
sha256sums=(367654878388f532cd8a897fe64766e2d57ae4c60da1d4d8f20dcdf2fb0cbde8) # debianutils-5.17.tar.xz
|
|
|
|
## 041c54b6d354681b669255d6f73489ca7b18a1252ba59e26c146b41ce89d0290 run-parts-5.17-01-x86_64.pkg.tar.lz
|
|
|