summaryrefslogtreecommitdiff
path: root/community/fdupes/PKGBUILD
blob: f458d9ad4f9f9302fd2cf51e602655a36079e50c (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
# $Id: PKGBUILD 67613 2012-03-13 14:16:46Z lcarlier $
# Maintainer: Daenyth <Daenyth+Arch at gmail dot com>
# Contributor: Chris Winter <twidds at gmail dot com>

pkgname=fdupes
pkgver=1.40
pkgrel=6.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=('11de9ab4466089b6acbb62816b30b189' '47f17890218f832f870bf7a02eaeb017')

build() {
  cd $srcdir/$pkgname-$pkgver

  make 
}
package(){
  cd $srcdir/$pkgname-$pkgver

  install -d ${pkgdir}/usr/{share/man/man1,bin}

  make INSTALLDIR=${pkgdir}/usr/bin MANPAGEDIR=${pkgdir}/usr/share/man install
  install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}