diff options
author | Anton Leontiev | 2018-04-15 08:52:20 +0300 |
---|---|---|
committer | Anton Leontiev | 2018-04-15 08:52:20 +0300 |
commit | 5260dc1b4c6b381bc7bef955ca33cf53fe9c9bf8 (patch) | |
tree | 4ba0381f7b822977983134c45846c4eb4f73fd10 /PKGBUILD | |
parent | 028c85411d6f2b072cf3041771ee3d2448761553 (diff) | |
download | aur-5260dc1b4c6b381bc7bef955ca33cf53fe9c9bf8.tar.gz |
Update to v0.16
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 20 insertions, 11 deletions
@@ -1,32 +1,41 @@ # CPAN Name : Algorithm::Permute -# Contributor: Anton Leontiev <bunder /at/ t-25.ru> -# Generator : CPANPLUS::Dist::Arch 1.28 +# Contributor: Anton Leontiev <scileont /at/ gmail.com> +# Generator : CPANPLUS::Dist::Arch 1.32 pkgname=perl-algorithm-permute -pkgver=0.12 -pkgrel=2 +pkgver=0.16 +pkgrel=1 pkgdesc='Perl package for handy and fast permutations with object oriented interface' arch=('i686' 'x86_64') -url='http://search.cpan.org/dist/Algorithm-Permute' +url='https://metacpan.org/release/Algorithm-Permute' license=('GPL') depends=('perl') -source=(http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/Algorithm-Permute-0.12.tar.gz) +checkdepends=('perl-test-leaktrace') +source=(http://search.cpan.org/CPAN/authors/id/S/SL/SLOYD/Algorithm-Permute-0.16.tar.gz) options=(!emptydirs) -md5sums=('93c9e11af9511390379720fe046fb960') +md5sums=('baa3ca012c8f7e37b5c479a7c1439cb4') + +sanitize() { + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 +} build() { - cd Algorithm-Permute-0.12 - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd Algorithm-Permute-0.16 + sanitize + perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd Algorithm-Permute-0.12 + cd Algorithm-Permute-0.16 + sanitize make test } package() { - cd Algorithm-Permute-0.12 + cd Algorithm-Permute-0.16 + sanitize make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } |