desktop/fdupes/PKGBUILD
2011-12-06 22:12:22 +00:00

22 lines
662 B
Bash

pkgname=fdupes
pkgver=1.40
pkgrel=1
pkgdesc="a program for identifying or deleting duplicate files residing within specified directories"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fdupes/"
license=('MIT')
source=(http://fdupes.googlecode.com/files/$pkgname-$pkgver.tar.gz LICENSE)
md5sums=('11de9ab4466089b6acbb62816b30b189' '47f17890218f832f870bf7a02eaeb017')
build() {
cd $srcdir/$pkgname-$pkgver
install -d $pkgdir/usr/{share/man/man1,bin}
make
}
package(){
cd $srcdir/$pkgname-$pkgver
make INSTALLDIR=$pkgdir/usr/bin MANPAGEDIR=$pkgdir/usr/share/man install
install -D -m644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}