aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-number-format/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-05-10 08:09:00 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-05-10 08:09:05 +0000
commit3fb895dd1f0d4ffa3beb45295a1bf473d79a6aec (patch)
tree60a2dc2ed6ab69503e5017137a3c0cd2fbf17159 /testing/perl-number-format/APKBUILD
parent6c56e161894cb27368d6690cf739fbc8329fcce0 (diff)
downloadaports-3fb895dd1f0d4ffa3beb45295a1bf473d79a6aec.tar.bz2
aports-3fb895dd1f0d4ffa3beb45295a1bf473d79a6aec.tar.xz
testing/perl-number-format: upgrade to 1.75
Diffstat (limited to 'testing/perl-number-format/APKBUILD')
-rw-r--r--testing/perl-number-format/APKBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/testing/perl-number-format/APKBUILD b/testing/perl-number-format/APKBUILD
index d16f5914e7..dfdd48cec7 100644
--- a/testing/perl-number-format/APKBUILD
+++ b/testing/perl-number-format/APKBUILD
@@ -3,8 +3,8 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-number-format
_pkgreal=Number-Format
-pkgver=1.73
-pkgrel=1
+pkgver=1.75
+pkgrel=0
pkgdesc="Perl extension for formatting numbers"
url="http://search.cpan.org/dist/Number-Format/"
arch="noarch"
@@ -17,31 +17,29 @@ subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/W/WR/WRW/$_pkgreal-$pkgver.tar.gz"
options="!check"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$_builddir"
+ cd "$builddir"
make test
}
-md5sums="3a4188de6e84b04361def285b93dc240 Number-Format-1.73.tar.gz"
-sha256sums="84a2b722ef21ab92bd09ee8de9ecf9969cd95a0655815e8c9b0720669986e46c Number-Format-1.73.tar.gz"
-sha512sums="52af1a595d9a62c9aabd57407c1807e71c7f2bfc591a835f73428848162fc0ab5aee7e78a8269304d44fceeb2654b8db40686eed8c6ff83e821b905905c75047 Number-Format-1.73.tar.gz"
+sha512sums="fa712a82b33ba062308e6bf29a4d99e73245f95495206e2c4252d8735d1851136553ec719a00683163aea0d3dddaa6bcc1261ef643439b870605df8ab17a40ef Number-Format-1.75.tar.gz"