updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-locale-maketext-simple / PKGBUILD
blob8ec268777288c0a6be14057bcd855b4752204f7f
1 # CPAN Name  : Locale-Maketext-Simple
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-locale-maketext-simple/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-locale-maketext-simple'
8 pkgver='0.21'
9 pkgrel='2'
10 pkgdesc="Simple interface to Locale::Maketext::Lexicon"
11 arch=('any')
12 url='http://search.cpan.org/dist/Locale-Maketext-Simple'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl')
16 options=('!emptydirs')
18 source=('http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/Locale-Maketext-Simple-0.21.tar.gz')
19 md5sums=('0a7c5c3b18cf31d764e1631eb9a3d367')
21 build() {
22   DIST_DIR="${srcdir}/Locale-Maketext-Simple-0.21"
23   export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
24   {
25         cd "$DIST_DIR" &&
26     perl Makefile.PL INSTALLDIRS=vendor &&
27     make &&
28     make test &&
29     make DESTDIR="$pkgdir" install;
30   } || return 1;
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete