pkgname=patchutils pkgver=0.3.4 pkgrel=1 pkgdesc="A small collection of programs that operate on patch files" license=('GPL') url="http://cyberelk.net/tim/patchutils/" depends=('perl') arch=('x86_64') source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.xz) sha512sums=('ede006122fad180b78feaf69294f1c40c0a764981fa581f1893abeeb0421f9d586fc33f79d065690a6bc6187a31f11311b086669879dde12c6e49c7c8a2aa440') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }