aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-text-glob
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-09-26 10:18:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-09-26 10:18:33 +0000
commita46ed308f3caa5cc5403df050c83fa24c78284f5 (patch)
tree72249886f99a33a60d27138fb58b1d988850b343 /community/perl-text-glob
parentcb14bc087449d0a750219b853cee8798b13689b0 (diff)
downloadaports-a46ed308f3caa5cc5403df050c83fa24c78284f5.tar.bz2
aports-a46ed308f3caa5cc5403df050c83fa24c78284f5.tar.xz
community/perl-text-glob: upgrade 0.10
Diffstat (limited to 'community/perl-text-glob')
-rw-r--r--community/perl-text-glob/APKBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/community/perl-text-glob/APKBUILD b/community/perl-text-glob/APKBUILD
index 55ee7ecd58..b9914158dc 100644
--- a/community/perl-text-glob/APKBUILD
+++ b/community/perl-text-glob/APKBUILD
@@ -1,9 +1,9 @@
# Automatically generated by apkbuild-cpan, template 1
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-text-glob
_pkgreal=Text-Glob
-pkgver=0.09
+pkgver=0.10
pkgrel=0
pkgdesc="match globbing patterns against text"
url="http://search.cpan.org/dist/Text-Glob/"
@@ -20,22 +20,24 @@ _builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- perl Build.PL installdirs=vendor || return 1
+ if [ -e Build.PL ]; then
+ perl Build.PL installdirs=vendor || return 1
+ else
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ fi
}
build() {
cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- ./Build && ./Build test
+ make && make test
}
package() {
- cd "$_builddir"
- ./Build install destdir="$pkgdir" || return 1
- find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="1daa10e087f891c49b720a5c551a024b Text-Glob-0.09.tar.gz"
-sha256sums="a5a121da026fbc4cc8c1065cfbe76ab5110e88091f454e70ee8c23a933372753 Text-Glob-0.09.tar.gz"
-sha512sums="9b729e4ece88ad79e1b637c7f35e5e1ecae3fd7f62c408ed4f3fcac2e8e8afff32d7d805e1b0269800aada5ae609d03335d42ac54def2797d301e91fa488ae47 Text-Glob-0.09.tar.gz"
+md5sums="41983522000416c73bba115b36effe33 Text-Glob-0.10.tar.gz"
+sha256sums="d0af0549a9dd1c70edcd3b1429ccc3702b79b873375b79cd2bdfe8870e337449 Text-Glob-0.10.tar.gz"
+sha512sums="9a18048135f18500bb0ba3bf21c6df3fc390ec0f213c4a9331a84e643703805fbe557378284fa66f32a96852c38f832ac750509e257b5cc14b0f3ca6d75f5af0 Text-Glob-0.10.tar.gz"