updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-mkpasswd / PKGBUILD
bloba1a58989711670215c977375efc21d628c14fcec
1 # $ID: PKGBUILD 001 2008-08-06 11:59 umej $
2 # Maintainer:  Ulfar Johnson <ulfar.johnson@skyrr.is>
3 # Contriburtor:  Ulfar Johnson <ulfar.johnson@skyrr.is>
5 pkgname=perl-mkpasswd
6 _realname=String-MkPasswd
7 pkgver=0.02
8 pkgrel=1
9 pkgdesc="Perl module for password creation"
10 arch=(i686 x86_64)
11 license=('unknown')
12 url="http://search.cpan.org/dist/${_realname}/"
13 depends=('perl>=5.10.0')
14 options=(!emptydirs)
15 source=(http://search.cpan.org/CPAN/authors/id/C/CG/CGRAU/${_realname}-${pkgver}.tar.gz)
16 md5sums=('99dc6ba3be883d8d31d132e1ed9108a8')
18 build () {
19         cd ${startdir}/src/${_realname}-${pkgver}
20         # install module in vendor directories.
21         perl Makefile.PL INSTALLDIRS=vendor || return 1
22         make || return 1
23         make install DESTDIR=${startdir}/pkg || return 1
25   # remove perllocal.pod and .packlist
26   find ${startdir}/pkg -name perllocal.pod -delete
27   find ${startdir}/pkg -name .packlist -delete
28         }
30 # vim:set ts=2 sw=2 et: