summaryrefslogtreecommitdiff
path: root/community/fdupes/PKGBUILD
blob: cbae5b25eebc900a78e2c832d5d5e08fa20617c7 (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
25
26
27
28
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' 'mips64el')
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
}