archrelease: copy trunk to staging-x86_64
[arch-packages.git] / run-parts / trunk / PKGBUILD
blobf375abbb6f8e5cc53105f1d97017b370c8b21e81
1 # Maintainer: Pierre Schmitz <pierre@archlinux.de>
3 pkgname=run-parts
4 pkgver=5.5
5 pkgrel=1
6 pkgdesc='run scripts or programs in a directory'
7 arch=('x86_64')
8 url='https://packages.qa.debian.org/d/debianutils.html'
9 license=('GPL')
10 depends=('glibc')
11 source=("https://clint.pages.debian.net/debianutils-tarballs/artifacts/debianutils-${pkgver}.tar.gz"{,.sig})
12 sha256sums=('3ec744186b8d016fb8b45915a40871a51f701937d80c467118f8cee6a9f517f2'
13             'SKIP')
14 validpgpkeys=('2100A32C46F895AF3A08783AF6D3495BB0AE9A02')
16 build() {
17         cd "$srcdir/debianutils-${pkgver}"
18         ./configure --prefix=/usr
19         make run-parts
22 package() {
23         cd "$srcdir/debianutils-${pkgver}"
24         install -D -m755 run-parts "$pkgdir/usr/bin/run-parts"
25         install -D -m644 run-parts.8 "$pkgdir/usr/share/man/man8/run-parts.8"
26         for l in po4a/*/run-parts.8; do
27                 install -D -m644  "${l}" "$pkgdir/usr/share/man/${l:5:2}/man8/run-parts.8"
28         done