summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..81468f933a8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Aaron Schaefer <aaron@elasticdog.com>
+
+pkgname=duff-git
+pkgver=0.5.2.r56.g3c8eb2f
+pkgrel=1
+pkgdesc="A command-line utility for quickly finding duplicates in a given set of files"
+arch=('i686' 'x86_64')
+url="http://duff.dreda.org/"
+license=('custom')
+depends=('glibc' 'sh')
+makedepends=('git')
+conflicts=('duff')
+provides=('duff')
+source=("git+https://github.com/fsiler/${pkgname%-git}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname%-git}
+ git describe --tags | sed 's+-+.r+' | tr - .
+}
+
+build() {
+ cd ${pkgname%-git}
+ echo > gettextize --no-changelog -f
+ autoreconf -i
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${pkgname%-git}
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING
+}
+