summaryrefslogtreecommitdiff
path: root/community/duff/PKGBUILD
blob: c1bb2e2cc58896d804e1ef24e30c728e7ab40e07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 11210 2010-02-07 18:33:36Z dgriffiths $
# Contributor: Aaron Schaefer <aaron@elasticdog.com>

pkgname=duff
pkgver=0.4
pkgrel=3
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 ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make || return 1
  make DESTDIR=${pkgdir} install
  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}