aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-simple
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-02 17:25:50 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-02 17:25:50 +0200
commit34217a0b3960188b4abafb4ba64ed1af3e8427ea (patch)
tree8e4840153de964a525bde31e24532b4807fc761e /main/perl-test-simple
parent4839e670592bcf73f73af3ef6d6140dada2f1f34 (diff)
downloadaports-34217a0b3960188b4abafb4ba64ed1af3e8427ea.tar.bz2
aports-34217a0b3960188b4abafb4ba64ed1af3e8427ea.tar.xz
main/perl-test-simple: update, and provide perl-test-tester
Diffstat (limited to 'main/perl-test-simple')
-rw-r--r--main/perl-test-simple/APKBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/main/perl-test-simple/APKBUILD b/main/perl-test-simple/APKBUILD
index 07c6e1e812..357afee7e5 100644
--- a/main/perl-test-simple/APKBUILD
+++ b/main/perl-test-simple/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-simple
_pkgreal=Test-Simple
-pkgver=1.302059
+pkgver=1.302062
pkgrel=0
pkgdesc="Basic utilities for writing tests."
url="http://search.cpan.org/dist/Test-Simple/"
@@ -13,29 +13,31 @@ cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
+provides="perl-test-tester"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ default_prepare || return 1
+
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="e35a6344da1a9aafdbfdb21cb4180cee Test-Simple-1.302059.tar.gz"
-sha256sums="7ce69a19fed488ef3149c6887d47a69e14cd705682d7e2d28f3432bcef3e2a59 Test-Simple-1.302059.tar.gz"
-sha512sums="a5fa13b617bf96ce31ec13b274b73d0c7c2e3f7a77e54c314d2285b3cd729442605ad3b9aa0721773622c837e7be6776a53e7d34fd2777d07a306c16ec31ccb1 Test-Simple-1.302059.tar.gz"
+md5sums="d869f6754eccc38484da7e21e9c7bbcc Test-Simple-1.302062.tar.gz"
+sha256sums="6729060d4ab12e2db3a3c6d6376ee6a9fb77c0ba0308b66919365a1e8bf156ea Test-Simple-1.302062.tar.gz"
+sha512sums="8c221ec4ee33da68191df6c8e13f82f90d694a1d87e2406a4af500b70bd87e8b58093735ca71c63c6cb569673e088d9f558bf7155c1f5e885eada354c090d3ff Test-Simple-1.302062.tar.gz"