summaryrefslogtreecommitdiff
path: root/user/perl-list-compare/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-list-compare/APKBUILD')
-rw-r--r--user/perl-list-compare/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/user/perl-list-compare/APKBUILD b/user/perl-list-compare/APKBUILD
index 611b3efb3..74d9881ea 100644
--- a/user/perl-list-compare/APKBUILD
+++ b/user/perl-list-compare/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-compare
-pkgver=0.53
+_pkgreal=List-Compare
+_author=JKEENAN
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.55
pkgrel=0
pkgdesc="Compare elements of two or more Perl lists"
url="https://metacpan.org/release/List-Compare"
arch="noarch"
-license="Artistic-1.0-Perl"
-depends=""
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl perl-capture-tiny"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/List-Compare-$pkgver.tar.gz"
-builddir="$srcdir/List-Compare-$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="b467e9395afa8297f5f59d745d22048373cfd60dc0c8ce56d0ad95e8f9fddcda487d99c906b9fb5ac1b28aa53873a7c9689347866c3aa907aecd31b4a127627a List-Compare-0.53.tar.gz"
+sha512sums="0f7e2325449298940f14b369b0c82c326c6e596123939285b8e7cce9cc36e8a78620eb4ff96594c55c26c1acecb46966d4d40eb5f591e76798614257c300d705 List-Compare-0.55.tar.gz"