diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-25 08:30:30 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-25 08:30:30 +0000 |
commit | 1d226b531f5081401a80cca53939e7b7c200540b (patch) | |
tree | 992439db0ce9730c6e84a3903e21afa075a661eb /main/perl-regexp-common/APKBUILD | |
parent | e27607c9dd6dcd97a7adb24c1c2de5fc1587d662 (diff) | |
download | aports-1d226b531f5081401a80cca53939e7b7c200540b.tar.bz2 aports-1d226b531f5081401a80cca53939e7b7c200540b.tar.xz |
main/perl-regexp-common: upgrade to 2013031301
Diffstat (limited to 'main/perl-regexp-common/APKBUILD')
-rw-r--r-- | main/perl-regexp-common/APKBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/main/perl-regexp-common/APKBUILD b/main/perl-regexp-common/APKBUILD index 29055d826..faf0ff1e0 100644 --- a/main/perl-regexp-common/APKBUILD +++ b/main/perl-regexp-common/APKBUILD @@ -1,33 +1,33 @@ +# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-regexp-common -pkgver=2011041701 +_pkgreal=Regexp-Common +pkgver=2013031301 pkgrel=0 -pkgdesc="Regexp::Common perl module" +pkgdesc="Provide commonly requested regular expressions" url="http://search.cpan.org/dist/Regexp-Common/" arch="noarch" -license="GPLv2 or Artistic" -depends="perl" -makedepends="perl-dev" -install="" +license="mit" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/Regexp-Common-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" -_builddir="$srcdir"/Regexp-Common-$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" - 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() { @@ -36,4 +36,6 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="7e6bef3eefff91ecb2f07b1e81217650 Regexp-Common-2011041701.tar.gz" +md5sums="2b9c335312dcfd9980ff7acbad0e5905 Regexp-Common-2013031301.tar.gz" +sha256sums="729a8198d264aa64ecbb233ff990507f97fbb66bda746b95f3286f50f5f25c84 Regexp-Common-2013031301.tar.gz" +sha512sums="2fad761c169be76771856938a53f28dab232cb44cea4e22f56869754633f9a38f94568096ac0f21a885e6dd11049f401c8957b04929eee6802b8454c4fe4f62a Regexp-Common-2013031301.tar.gz" |