diff options
-rw-r--r-- | main/perl-file-slurp/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/main/perl-file-slurp/APKBUILD b/main/perl-file-slurp/APKBUILD index e973bbf2a4..106cdedab1 100644 --- a/main/perl-file-slurp/APKBUILD +++ b/main/perl-file-slurp/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=perl-file-slurp _pkgreal=File-Slurp -pkgver=9999.19 +pkgver=9999.25 pkgrel=0 pkgdesc="Simple and Efficient Reading/Writing/Modifying of Complete Files" url="http://search.cpan.org/dist/File-Slurp/" @@ -14,24 +14,29 @@ cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/U/UR/URI/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + 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 } -sha512sums="3fb8f452d625e321e77475cbc7d5672d53fe49945581561a0001be0a9464e67659303271648e102d52b6ebd04c87afc7432238fcade0c098f584f3b58c90ec82 File-Slurp-9999.19.tar.gz" +sha512sums="cea59f2aecfe314540c1022c44ce85d5d53a3c69273b71a727acbfacbd09a9e45ef435c61b28d8d883a758e29c296ca98167dceed74bbf3a278fe5fa7019ce8a File-Slurp-9999.25.tar.gz" |