diff options
author | root <root@rshg054.dnsready.net> | 2011-11-12 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-12 23:14:57 +0000 |
commit | 559f8739357af66f22f2259e84b21c76b3a66205 (patch) | |
tree | 94eed0bef6460bbf30846c7e6bc2179e34fb6301 /testing/run-parts/PKGBUILD | |
parent | e0f64ccb05c467785eaf68b42c3e302c44aa3324 (diff) |
Sat Nov 12 23:14:57 UTC 2011
Diffstat (limited to 'testing/run-parts/PKGBUILD')
-rw-r--r-- | testing/run-parts/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/run-parts/PKGBUILD b/testing/run-parts/PKGBUILD new file mode 100644 index 000000000..996661740 --- /dev/null +++ b/testing/run-parts/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 142524 2011-11-11 14:47:40Z pierre $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> + +pkgname=run-parts +pkgver=4.0.4 +pkgrel=1 +pkgdesc='run scripts or programs in a directory' +arch=('i686' 'x86_64') +url='http://packages.qa.debian.org/d/debianutils.html' +license=('GPL') +depends=('glibc') +source=("ftp://ftp.archlinux.org/run-parts/debianutils_${pkgver}.tar.gz") +sha256sums=('9a14722c7422c6d16f30c80b74201d9c803beeef2bb4c004964d0979eaa1232f') + +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 +} |