1 # Contributor: Stefano Tortarolo <stefano@inventati.org>
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
6 pkgdesc="Tool to find visually similar or duplicate images"
8 url="http://www.jhnc.org/findimagedupes/"
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')
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