summaryrefslogtreecommitdiff
path: root/user/perl-list-moreutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-list-moreutils/APKBUILD')
-rw-r--r--user/perl-list-moreutils/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/user/perl-list-moreutils/APKBUILD b/user/perl-list-moreutils/APKBUILD
index 7f20abe32..3af8ad9cc 100644
--- a/user/perl-list-moreutils/APKBUILD
+++ b/user/perl-list-moreutils/APKBUILD
@@ -1,33 +1,34 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-list-moreutils
-pkgver=0.428
+_pkgreal=List-MoreUtils
+_author=REHSACK
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.430
pkgrel=0
pkgdesc="Provide the stuff missing in List::Util"
url="https://metacpan.org/release/List-MoreUtils"
arch="noarch"
license="Apache-2.0"
-depends="perl-exporter-tiny"
+depends="perl perl-exporter-tiny"
makedepends="perl-dev perl-list-moreutils-xs"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-$pkgver.tar.gz"
-builddir="$srcdir/List-MoreUtils-$pkgver"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
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="f7e11f10f1d7bd3b8f9f8bc2fc325e1a9230056f68591da624aed01fb4e4cbac20caeae0c3e2aa3acc8b71febd6d4149284367f051d3c1e608e3a4ca8b62dbd8 List-MoreUtils-0.428.tar.gz"
+sha512sums="bc9ff033c12251a6f0899a96da0ec8fc314ddb8d6cdf18c37fe1fdcfc38a4c95ed6f8e006bb124e77d07241ae6754f429bc2041f7772b4acfce9378a21283469 List-MoreUtils-0.430.tar.gz"