43 lines
1.6 KiB
Bash
43 lines
1.6 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"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=run-parts
|
|
pkgver=5.5
|
|
pkgrel=01
|
|
pkgdesc='run scripts or programs in a directory'
|
|
arch=('x86_64')
|
|
url='https://packages.qa.debian.org/d/debianutils.html'
|
|
source=("https://clint.pages.debian.net/debianutils-tarballs/artifacts/debianutils-${pkgver}.tar.gz"{,.sig})
|
|
depends=('glibc')
|
|
|
|
build() {
|
|
cd "$srcdir/debianutils-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make run-parts
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/debianutils-${pkgver}"
|
|
install -D -m755 run-parts "$pkgdir/usr/bin/run-parts"
|
|
install -D -m644 run-parts.8 "$pkgdir/usr/share/man/man8/run-parts.8"
|
|
for l in po4a/*/run-parts.8; do
|
|
install -D -m644 "${l}" "$pkgdir/usr/share/man/${l:5:2}/man8/run-parts.8"
|
|
done
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL')
|
|
|
|
validpgpkeys=('2100A32C46F895AF3A08783AF6D3495BB0AE9A02')
|
|
|
|
sha512sums=(
|
|
'8ed6744b0ad5d345beb885a8e568f757693d8760f57aeed6102cfe283b9588673a68358f0a5b442f5a43814232bdb6f2320557c9afe8d105ff29c2008d744146' # debianutils-5.5.tar.gz
|
|
'204feaafbad6344999327b95f68a127efddf287e42a6934fbf7367b58c614f8b24c0fcbbd83880e5b24d8489b9136d65b73eb46ac70d7aac8a87b26ee74ab6f9' # debianutils-5.5.tar.gz.sig
|
|
)
|
|
|
|
sha256sums=(3ec744186b8d016fb8b45915a40871a51f701937d80c467118f8cee6a9f517f2 # debianutils-5.5.tar.gz
|
|
4a2a5aa81e69862256a75cd1f7f27cda4dde4414aeacccc31deb7149b9bbb161) # debianutils-5.5.tar.gz.sig
|