summaryrefslogtreecommitdiff
path: root/user/perl-list-compare/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:22:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:22:31 +0000
commit7bd4cb375322ba77210e4d871f0d48458066f8fd (patch)
tree142cb794cd58e4682a8b9b25f147ac1d67d3b8e3 /user/perl-list-compare/APKBUILD
parentcc816acb5ee20d06ee82a16e6cf26d3eb051b05c (diff)
downloadpackages-7bd4cb375322ba77210e4d871f0d48458066f8fd.tar.gz
packages-7bd4cb375322ba77210e4d871f0d48458066f8fd.tar.bz2
packages-7bd4cb375322ba77210e4d871f0d48458066f8fd.tar.xz
packages-7bd4cb375322ba77210e4d871f0d48458066f8fd.zip
user/perl-list-compare: new package
Diffstat (limited to 'user/perl-list-compare/APKBUILD')
-rw-r--r--user/perl-list-compare/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-list-compare/APKBUILD b/user/perl-list-compare/APKBUILD
new file mode 100644
index 000000000..611b3efb3
--- /dev/null
+++ b/user/perl-list-compare/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-list-compare
+pkgver=0.53
+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=""
+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"
+
+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"