diff options
author | Anton Leontiev | 2015-08-12 11:08:13 +0300 |
---|---|---|
committer | Anton Leontiev | 2015-08-12 11:08:13 +0300 |
commit | 3f5408b9d2fa6a3cacee360752594dac6009fd25 (patch) | |
tree | d3001cce1781699c1bd5c4f4bf7c295bd47d4d20 | |
parent | 7cd6fdd8172f253abc6d0bab4ed62972791cae57 (diff) | |
download | aur-3f5408b9d2fa6a3cacee360752594dac6009fd25.tar.gz |
Updated to v0.04
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | PKGBUILD.tt | 10 |
3 files changed, 32 insertions, 16 deletions
@@ -1,15 +1,15 @@ pkgbase = perl-set-intersection pkgdesc = Perl package to get intersection (of set theory) of ARRAYs. - pkgver = 0.02 - pkgrel = 2 - url = http://search.cpan.org/dist/Set-Intersection + pkgver = 0.04 + pkgrel = 1 + url = https://metacpan.org/release/Set-Intersection arch = any license = PerlArtistic license = GPL depends = perl options = !emptydirs - source = http://search.cpan.org/CPAN/authors/id/T/TU/TURUGINA/Set-Intersection-0.02.tar.gz - md5sums = d373ed67980d1495b8c6f7ea73cc9985 + source = http://search.cpan.org/CPAN/authors/id/T/TU/TURUGINA/Set-Intersection-0.04.tar.gz + md5sums = 780910ae60f3e91c547db69f0ebb6c4e pkgname = perl-set-intersection @@ -1,32 +1,40 @@ # CPAN Name : Set::Intersection # Contributor: Anton Leontiev <bunder /at/ t-25.ru> -# Generator : CPANPLUS::Dist::Arch 1.28 +# Generator : CPANPLUS::Dist::Arch 1.30 pkgname=perl-set-intersection -pkgver=0.02 -pkgrel=2 +pkgver=0.04 +pkgrel=1 pkgdesc='Perl package to get intersection (of set theory) of ARRAYs.' arch=('any') -url='http://search.cpan.org/dist/Set-Intersection' +url='https://metacpan.org/release/Set-Intersection' license=('PerlArtistic' 'GPL') depends=('perl') -source=(http://search.cpan.org/CPAN/authors/id/T/TU/TURUGINA/Set-Intersection-0.02.tar.gz) +source=(http://search.cpan.org/CPAN/authors/id/T/TU/TURUGINA/Set-Intersection-0.04.tar.gz) options=(!emptydirs) -md5sums=('d373ed67980d1495b8c6f7ea73cc9985') +md5sums=('780910ae60f3e91c547db69f0ebb6c4e') + +sanitize() { + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 +} build() { - cd Set-Intersection-0.02 - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd Set-Intersection-0.04 + sanitize + perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd Set-Intersection-0.02 + cd Set-Intersection-0.04 + sanitize make test } package() { - cd Set-Intersection-0.02 + cd Set-Intersection-0.04 + sanitize make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } diff --git a/PKGBUILD.tt b/PKGBUILD.tt index 3126f8ce427e..93e61ec3ff45 100644 --- a/PKGBUILD.tt +++ b/PKGBUILD.tt @@ -14,19 +14,27 @@ source=([% source %]) options=(!emptydirs) md5sums=('[% md5sums %]') +sanitize() { + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 +} + build() { cd [% distdir %] - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + sanitize + perl Makefile.PL INSTALLDIRS=vendor make } check() { cd [% distdir %] + sanitize make test } package() { cd [% distdir %] + sanitize make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } |