diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-15 10:01:00 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-15 10:07:15 +0000 |
commit | ad4d1e0cce5ce61b96691183c1f4c5fb834585c4 (patch) | |
tree | a693ccceb1d72d80d965c2edf9e184fb28913b95 /main/perl-test-simple/APKBUILD | |
parent | db7ded595d1b2bd37fc198e89ccb843ed4717de0 (diff) | |
download | aports-ad4d1e0cce5ce61b96691183c1f4c5fb834585c4.tar.bz2 aports-ad4d1e0cce5ce61b96691183c1f4c5fb834585c4.tar.xz |
main/perl-test-simple: upgrade to 1.302083, modernize APKBUILD
Diffstat (limited to 'main/perl-test-simple/APKBUILD')
-rw-r--r-- | main/perl-test-simple/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/perl-test-simple/APKBUILD b/main/perl-test-simple/APKBUILD index 446458bf53..1837b82a62 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.302078 +pkgver=1.302083 pkgrel=0 pkgdesc="Basic utilities for writing tests." url="http://search.cpan.org/dist/Test-Simple/" @@ -21,7 +21,7 @@ source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.ta builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -36,7 +36,7 @@ build() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } @@ -51,4 +51,4 @@ doc() { replaces="perl-doc" } -sha512sums="155685a17e98353caa29b8752d26e62f9f60424048c347e68642f6aa118724e4dda30cc91902792cb0a2b29ab698a6a58b65e3ba6dc9725a05ebdc43759e088d Test-Simple-1.302078.tar.gz" +sha512sums="125772d71a28feb92e2854218531b3fd0cd25043bd4db5071e2e8b860e503db13cb884abe6dbb81ac79251f683abeb7878af17850f372c24c0a9dfa2338861fa Test-Simple-1.302083.tar.gz" |