PKGBUILDs/community/duff/PKGBUILD

22 lines
659 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
pkgname=duff
pkgver=0.4
pkgrel=1
pkgdesc="A command-line utility for quickly finding duplicates in a given set of files"
arch=('i686' 'x86_64')
url="http://duff.sourceforge.net/"
license=('ZLIB')
depends=('glibc')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('ca5043ceb1e16dac1aca5da1ed844149')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}