diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-25 13:33:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-25 13:33:04 +0000 |
commit | d34b147998f4dfced6e74fdee707b2fad4b8c379 (patch) | |
tree | 674d7ab0f7f09ec4e71adb9b6ff519fe6a5fc042 | |
parent | 49db91b1e83f3c1a734eb635c23c2359c366f6dd (diff) | |
download | aports-d34b147998f4dfced6e74fdee707b2fad4b8c379.tar.bz2 aports-d34b147998f4dfced6e74fdee707b2fad4b8c379.tar.xz |
main/perl-list-moreutils: upgrade to 0.401
-rw-r--r-- | main/perl-list-moreutils/APKBUILD | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/main/perl-list-moreutils/APKBUILD b/main/perl-list-moreutils/APKBUILD index 9bab2f77a1..cc7a21d8fd 100644 --- a/main/perl-list-moreutils/APKBUILD +++ b/main/perl-list-moreutils/APKBUILD @@ -1,34 +1,33 @@ +# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-list-moreutils -pkgver=0.33 -pkgrel=3 -pkgdesc="List::MoreUtils perl module" +_pkgreal=List-MoreUtils +pkgver=0.401 +pkgrel=0 +pkgdesc="Provide the stuff missing in List::Util" url="http://search.cpan.org/dist/List-MoreUtils/" arch="all" -license="GPLv2 or Artistic" -depends="perl" -makedepends="perl-dev" -install="" +license="GPL PerlArtistic" +cpandepends="perl-exporter-tiny" +cpanmakedepends=" perl-test-leaktrace" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" -_builddir="$srcdir"/List-MoreUtils-$pkgver prepare() { - local i cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" - unset CFLAGS - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make && make test || return 1 + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test } package() { @@ -37,4 +36,6 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="8a33c84028cc2ff3e92c92434b326c0f List-MoreUtils-0.33.tar.gz" +md5sums="63a94074852a1836c74020ee9a0cbadf List-MoreUtils-0.401.tar.gz" +sha256sums="a804efbad2087224a9c976df78000ce82106b94b59106b0237227c4a465e2284 List-MoreUtils-0.401.tar.gz" +sha512sums="748c0ab19ada16f1add5500df0f12180d484bd85a9df9635fe726a91c43a085062a4f21eff67d5e6606b08f772b3431d0a1362fc7338f0ef6543c0cdafc4e5f0 List-MoreUtils-0.401.tar.gz" |