diff options
Diffstat (limited to 'community/perl-log-dispatch-config/APKBUILD')
-rw-r--r-- | community/perl-log-dispatch-config/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/community/perl-log-dispatch-config/APKBUILD b/community/perl-log-dispatch-config/APKBUILD index f2fa97d56c..245c62bdd4 100644 --- a/community/perl-log-dispatch-config/APKBUILD +++ b/community/perl-log-dispatch-config/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-log-dispatch-config _pkgreal=Log-Dispatch-Config pkgver=1.04 -pkgrel=1 +pkgrel=2 pkgdesc="Perl module for Log-Dispatch-Config" url="http://search.cpan.org/dist/Log-Dispatch-Config/" arch="noarch" @@ -16,24 +16,29 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/$_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="ac6f91b838743adb3a47cb09bf8defe5 Log-Dispatch-Config-1.04.tar.gz" -sha256sums="5a48c583dc87b079bf143a07fa6a73832ff02935617e21578269bc4959130b04 Log-Dispatch-Config-1.04.tar.gz" sha512sums="827b767806b206f244955f8f57b7206f84aac75012ec6443fb0c427e0fb0e52cad112cc012bd5c43a1e4a82d9fd49adb7bd024130579754dbe0ad4a2218460ef Log-Dispatch-Config-1.04.tar.gz" |