# $Id: PKGBUILD 8620 2008-08-14 09:04:04Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>

pkgname=run-parts
pkgver=2.30
pkgrel=1
pkgdesc='run-parts from the debianutils package'
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=('7fdd5f8395162d8728d4b79e97b9819e')

build() {
	cd $srcdir/debianutils-$pkgver
	./configure --prefix=/usr
	make

	install -D -m755 run-parts $pkgdir/usr/bin/run-parts
	install -D -m644 run-parts.8 $pkgdir/usr/share/man/man8/run-parts.8
}