aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/perl-config-autoconf/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/community/perl-config-autoconf/APKBUILD b/community/perl-config-autoconf/APKBUILD
index e7df7d5209..8956a6fed3 100644
--- a/community/perl-config-autoconf/APKBUILD
+++ b/community/perl-config-autoconf/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-config-autoconf
_pkgreal=Config-AutoConf
-pkgver=0.313
+pkgver=0.314
pkgrel=0
pkgdesc="A module to implement some of AutoConf macros in pure perl."
url="http://search.cpan.org/dist/Config-AutoConf/"
@@ -17,8 +17,13 @@ subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
+check() {
+ cd "$builddir"
+ make test
+}
+
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
@@ -28,15 +33,13 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="0d4fc982740e0d96d01d6b74acecbbc5 Config-AutoConf-0.313.tar.gz"
-sha256sums="3728867041d1bdbc00dffae5658b831e53f99068d3fbf0e8fb95b82a1953aeee Config-AutoConf-0.313.tar.gz"
-sha512sums="6867c862b6a6ee534f7a693102e37ea86426b10f6fb58e1206a2de8abe0fbe88728faedb11aad7202f7614b3fc24b5faf21a768037c12aff671d7d97dfd0d8ef Config-AutoConf-0.313.tar.gz"
+sha512sums="7c7e411356a690172e78c360962bd92a77eea4ed835cf445ffb81c78f6d5179354d7246909ca55462b137de75b0ad86e21d3a50fe630518f83e70e6e0de8dbca Config-AutoConf-0.314.tar.gz"