Commit ad4d1e0c authored by Francesco Colista's avatar Francesco Colista

main/perl-test-simple: upgrade to 1.302083, modernize APKBUILD

parent db7ded59
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment