1 # Maintainer: Byron Clark <byron@theclarkfamily.name>
5 pkgdesc="A Perl script that extracts URLs from correctly-encoded MIME email messages"
7 url="http://www.memoryhole.net/~kyle/extract_url/"
9 depends=('perl>=5.10.0' 'perl-mime-tools' 'perl-html-parser')
10 optdepends=('perl-curses-ui: curses interface'
11 'perl-uri-find: enhanced uri extraction')
12 source=(http://www.memoryhole.net/~kyle/$pkgname/$pkgname.pl)
13 md5sums=('815b390c31bb0e17712ceff5e97555b5')
16 install -d -m 0755 $pkgdir/usr/bin
17 install -m 0755 $srcdir/$pkgname.pl $pkgdir/usr/bin/$pkgname
18 install -d -m 0755 $pkgdir/usr/share/licenses/$pkgname
19 sed -n -e '/^# Copyright/,/^$/ s/^# \?// p' < $srcdir/$pkgname.pl > $pkgdir/usr/share/licenses/$pkgname/LICENSE
20 chmod 0644 $pkgdir/usr/share/licenses/$pkgname/LICENSE
23 # vim:set ts=2 sw=2 et: