aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSimon Frankenberger <simon@fraho.eu>2018-12-27 22:19:22 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-12-28 11:55:11 +0000
commit7499edbd275f6d44c0c713dba9667908648cd0c1 (patch)
tree413a39d100e44e09b3a94e79dd7e0ae14c074768 /main
parent4e939e86bb7d8950cf8fe32635a22799e8856461 (diff)
downloadaports-7499edbd275f6d44c0c713dba9667908648cd0c1.tar.bz2
aports-7499edbd275f6d44c0c713dba9667908648cd0c1.tar.xz
main/perl-file-slurp: Update to 9999.25
Diffstat (limited to 'main')
-rw-r--r--main/perl-file-slurp/APKBUILD23
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"