1 pkgname=perl-getopt-lazy
4 pkgdesc="Yet another lazy, minimal way of using Getopt::Long"
6 url="http://cpan.uwinnipeg.ca/dist/Getopt-Lazy"
14 source=(http://www.cpan.org/modules/by-module/Getopt/Getopt-Lazy-v${pkgver}.tar.gz)
15 md5sums=('789ba3827c96ef968f1e3c75ad873d98')
18 perlver=$(pacman -Q perl | egrep -o '[0-9.]{5}')
21 cd $startdir/src/Getopt-Lazy-v$pkgver
22 /usr/bin/perl Makefile.PL
23 # ugly hack to make install location
24 # compatible with newer versions of perl.
25 /bin/sed -i "s:$perlver:current:g" Makefile
26 /usr/bin/make || return 1
27 /usr/bin/make install DESTDIR=$startdir/pkg