diff options
Diffstat (limited to 'community/perl-object-insideout/APKBUILD')
-rw-r--r-- | community/perl-object-insideout/APKBUILD | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/community/perl-object-insideout/APKBUILD b/community/perl-object-insideout/APKBUILD index 07b4f03497..24ae9000eb 100644 --- a/community/perl-object-insideout/APKBUILD +++ b/community/perl-object-insideout/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-object-insideout _pkgreal=Object-InsideOut pkgver=4.02 -pkgrel=0 +pkgrel=1 pkgdesc="Comprehensive inside-out object support module" url="http://search.cpan.org/dist/Object-InsideOut/" arch="noarch" @@ -16,24 +16,29 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + default_prepare + + cd "$builddir" + perl Build.PL installdirs=vendor } build() { - cd "$_builddir" - ./Build && ./Build test + cd "$builddir" + ./Build +} + +check() { + cd "$builddir" + ./Build test } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + cd "$builddir" + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="aca3e8b0b15423d22ddfc95868ba5d00 Object-InsideOut-4.02.tar.gz" -sha256sums="e38a2435325d00427977b2fb89b54e61aedcf56f49a0236473ca995967b713ec Object-InsideOut-4.02.tar.gz" sha512sums="a89be17e0c765e3f0386eba2b945e7923fbf420ee492b1fdc32391dd4a183b21c1aae66998b9b8303b466bb82e54fa5d1518b085730a63f363e4062777d1a9c4 Object-InsideOut-4.02.tar.gz" |