aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-carp-assert
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-11-16 18:56:19 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-11-16 18:56:19 +0000
commit8ac0569f70bb7ac024b46783c05e2f2eeedc2fa7 (patch)
tree340b2accdbc1867f933718206a5adb26b24eddd7 /testing/perl-carp-assert
parent445c45fdf4c407736656ddae5d8ef1e97e155092 (diff)
downloadaports-8ac0569f70bb7ac024b46783c05e2f2eeedc2fa7.tar.bz2
aports-8ac0569f70bb7ac024b46783c05e2f2eeedc2fa7.tar.xz
testing/perl-carp-assert: upgrade to 0.21
Diffstat (limited to 'testing/perl-carp-assert')
-rw-r--r--testing/perl-carp-assert/APKBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/testing/perl-carp-assert/APKBUILD b/testing/perl-carp-assert/APKBUILD
index 93691b4e24..182d9e587c 100644
--- a/testing/perl-carp-assert/APKBUILD
+++ b/testing/perl-carp-assert/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-carp-assert
_pkgreal=Carp-Assert
-pkgver=0.20
+pkgver=0.21
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Carp-Assert/"
@@ -14,24 +14,28 @@ cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+source="http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
- make && make test
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="9dafe361b9e5e93e8e3e70e015f6b191 Carp-Assert-0.20.tar.gz"
+sha512sums="9fb96ebaf03a86edcd0262b5216b345839dc99e504738e52f883932e425cac33470fcb0e8e4653488c0d8e63e9904af311056213c63ae40bc3935eec4c0410a0 Carp-Assert-0.21.tar.gz"