updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-universal-moniker / PKGBUILD
blobe942e789a490fbad45aa29c9ca4933b08c6f830a
1 # Contributor: Ben Webb <bjwebb67 at googlemail dot com>
2 pkgname=perl-universal-moniker
3 pkgver=0.08
4 pkgrel=1
5 pkgdesc="Add monikers to all classes."
6 arch=(any)
7 url="http://search.cpan.org/dist/UNIVERSAL-moniker/moniker.pm"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/UNIVERSAL-moniker-$pkgver.tar.gz)
12 md5sums=('e59b97ccf88f9fa68c3e5c18d7059d57')
14 build() {
15   cd "$srcdir/UNIVERSAL-moniker-$pkgver"
17   # install module in vendor directories.
18   perl Makefile.PL INSTALLDIRS=vendor || return 1
19   make || return 1
20   make install DESTDIR=${pkgdir} || return 1
22   # remove perllocal.pod and .packlist
23   find "$pkgdir" -name perllocal.pod -delete
24   find "$pkgdir" -name .packlist -delete