updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / findimagedupes / PKGBUILD
blob1cc9bc850015605e5dafa2bbcc5d114568bd6b19
1 # Contributor: Stefano Tortarolo <stefano@inventati.org>
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 pkgname=findimagedupes
4 pkgver=2.18
5 pkgrel=1
6 pkgdesc="Tool to find visually similar or duplicate images"
7 arch=('i686' 'x86_64')
8 url="http://www.jhnc.org/findimagedupes/"
9 license=('GPL3')
10 depends=('perl' 'perl-file-mimeinfo' 'perl-inline' 'graphicsmagick')
11 makedepends=('perl' 'sed')
12 source=(http://www.jhnc.org/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('5c353c6e4611e194114d4192c32c6adb')
14 options=('zipman')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
18   sed -i -e "s:DIRECTORY => '/usr/local/lib/$pkgname':DIRECTORY => '/tmp':" $pkgname
19   pod2man findimagedupes > findimagedupes.1
21   install -D -m 755 findimagedupes $pkgdir/usr/bin/findimagedupes
22   install -D -m 644 findimagedupes.1 $pkgdir/usr/share/man/man1/findimagedupes.1