summaryrefslogtreecommitdiff
path: root/community/duff/PKGBUILD
blob: 304178bb124358ecf4f4a5fc4f7261ca86196f2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 44930 2011-04-13 03:50:28Z shusmann $
# Contributor: Aaron Schaefer <aaron@elasticdog.com>

pkgname=duff
pkgver=0.5
pkgrel=1
pkgdesc="A command-line utility for quickly finding duplicates in a given set of files"
arch=('i686' 'x86_64' 'mips64el')
url="http://duff.sourceforge.net/"
license=('custom')
depends=('glibc' 'sh')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('e42bedb278ab41081df3ebb9ce1cbe1d')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}