diff options
Diffstat (limited to 'community/fdupes/PKGBUILD')
-rw-r--r-- | community/fdupes/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/fdupes/PKGBUILD b/community/fdupes/PKGBUILD new file mode 100644 index 000000000..9dfae23a5 --- /dev/null +++ b/community/fdupes/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 90262 2013-05-10 16:06:17Z jelle $ +# Maintainer: Daenyth <Daenyth+Arch at gmail dot com> +# Contributor: Chris Winter <twidds at gmail dot com> + +pkgname=fdupes +pkgver=1.51 +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') +depends=(glibc) +source=(http://fdupes.googlecode.com/files/$pkgname-$pkgver.tar.gz LICENSE) +md5sums=('47d0410c90c9e51e450933ba35a32b62' + '47f17890218f832f870bf7a02eaeb017') + +build() { + cd $srcdir/$pkgname-$pkgver + + make PREFIX=/usr +} +package(){ + cd $srcdir/$pkgname-$pkgver + + install -d ${pkgdir}/usr/{share/man/man1,bin} + + make PREFIX=$pkgdir/usr DESTDIR=${pkgdir}/usr/bin INSTALLDIR=${pkgdir}/usr/bin MAN_DIR=${pkgdir}/usr/share/man/man1 install + install -D -m644 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} |