aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-list-utilsby/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-07-15 14:11:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-16 10:56:42 +0000
commitb5452acd31e7f9fd4d1050e1b27d8abb6eadcf28 (patch)
tree26325fabbc6bd45cdc0d7a0a4ac9030ca2f86e42 /main/perl-list-utilsby/APKBUILD
parent1bf7a8c6f145dae651a3788987403e67bfe71354 (diff)
downloadaports-b5452acd31e7f9fd4d1050e1b27d8abb6eadcf28.tar.gz
aports-b5452acd31e7f9fd4d1050e1b27d8abb6eadcf28.tar.bz2
aports-b5452acd31e7f9fd4d1050e1b27d8abb6eadcf28.tar.xz
main/perl-list-utilsby: upgrade to 0.11 and modernize
Diffstat (limited to 'main/perl-list-utilsby/APKBUILD')
-rw-r--r--main/perl-list-utilsby/APKBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/main/perl-list-utilsby/APKBUILD b/main/perl-list-utilsby/APKBUILD
index cb5251687a..d9a1f0bc4e 100644
--- a/main/perl-list-utilsby/APKBUILD
+++ b/main/perl-list-utilsby/APKBUILD
@@ -3,37 +3,38 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-list-utilsby
_pkgreal=List-UtilsBy
-pkgver=0.10
+pkgver=0.11
pkgrel=0
pkgdesc="higher-order list utility functions"
url="http://search.cpan.org/dist/List-UtilsBy/"
arch="noarch"
license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends perl-module-build"
+makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_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="2b4e2ffdfa99ab3eba8e221545c67522 List-UtilsBy-0.10.tar.gz"
-sha256sums="bed74094c625aa34a5ae94a7e1fe1856f08e1bd26b8ba152bfe7a51d3277192e List-UtilsBy-0.10.tar.gz"
-sha512sums="3e73ca8a99da111ff8869fce9561f52163bd4173589f0ff5c17913afea080279765a1f306af50b11040e26eea0f8ae9d993a93b0f0908ed15fa301e421dc0384 List-UtilsBy-0.10.tar.gz"
+sha512sums="7c912b805e1e21d5d683224b63125bc8385d79c7115d88c08ca28fc1778ec8d22ad4aaf366731df438365a5233108926cbffee284c2e2d37346b47984dbbd4c9 List-UtilsBy-0.11.tar.gz"