summaryrefslogtreecommitdiffstats
path: root/abs/core/run-parts/PKGBUILD
blob: a6684964bed96a03d0162b934854b8a12d9ded5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 95110 2010-10-15 10:41:20Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>

pkgname=run-parts
pkgver=3.4.1
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=("http://ftp.debian.org/debian/pool/main/d/debianutils/debianutils_${pkgver}.tar.gz")
md5sums=('d488563ad7ea356d83f848becb1a3a4a')

build() {
        cd $srcdir/debianutils-$pkgver
        ./configure --prefix=/usr
        make run-parts || return 1
}

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
}