summaryrefslogtreecommitdiff
path: root/community/fdupes/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fdupes/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/fdupes/PKGBUILD')
-rw-r--r--community/fdupes/PKGBUILD29
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
+}