aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-appconfig/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-appconfig/APKBUILD')
-rw-r--r--community/perl-appconfig/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/perl-appconfig/APKBUILD b/community/perl-appconfig/APKBUILD
index 295b96834c..961a3ac775 100644
--- a/community/perl-appconfig/APKBUILD
+++ b/community/perl-appconfig/APKBUILD
@@ -4,7 +4,7 @@
pkgname=perl-appconfig
_pkgreal=AppConfig
pkgver=1.71
-pkgrel=0
+pkgrel=1
pkgdesc="AppConfig is a bundle of Perl5 modules for reading configuration files and parsing command line arguments."
url="http://search.cpan.org/dist/AppConfig/"
arch="noarch"
@@ -16,24 +16,28 @@ makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ default_prepare
+ 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"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="7747d9241561ed5567d5e134b8648707 AppConfig-1.71.tar.gz"
-sha256sums="1177027025ecb09ee64d9f9f255615c04db5e14f7536c344af632032eb887b0f AppConfig-1.71.tar.gz"
sha512sums="cbd58601ce0ea6c237e86b8b013cf75e552914263f56b1ab26b8079bff75b28ca2bb35585bfaa187b611afa969767c25494d3ec2a6b3ff5d1aecd2f9ffa8df72 AppConfig-1.71.tar.gz"