summaryrefslogtreecommitdiff
path: root/user/perl-params-util/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-params-util/APKBUILD')
-rw-r--r--user/perl-params-util/APKBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/user/perl-params-util/APKBUILD b/user/perl-params-util/APKBUILD
index f18775a6f..27bf5498a 100644
--- a/user/perl-params-util/APKBUILD
+++ b/user/perl-params-util/APKBUILD
@@ -1,9 +1,11 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-params-util
_pkgreal=Params-Util
-pkgver=1.07
-pkgrel=5
+_author=REHSACK
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=1.102
+pkgrel=0
pkgdesc="Simple, compact and correct param-checking functions"
url="https://metacpan.org/release/Params-Util"
arch="all"
@@ -11,25 +13,21 @@ license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
- unset CFLAGS
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="ff471b01b33414fc5e1c68d97c21171a95d3418c33e3c45f9910cc768898690e35051506a83ad9403a200336654c14b8efc9d471c4b3fe3321047a7603d6fd56 Params-Util-1.07.tar.gz"
+sha512sums="e2587b62545cf0572cc8f719ea8e5411d710789c3cbcab4038c5b01f86073a010d32191551f6aeea1bdae22d49e7d34358250b4e7ece9f261a598854af187194 Params-Util-1.102.tar.gz"