diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 02:55:01 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 02:55:01 +0000 |
commit | cdeb4e943e4f1f9802a707db11030f5d59b4d466 (patch) | |
tree | 8a64623c6108117b3534f4006d969777aa6b5f22 /user/perl-list-moreutils-xs/APKBUILD | |
parent | 158f322bb525696999b46daec154f2ec118a506d (diff) | |
download | packages-cdeb4e943e4f1f9802a707db11030f5d59b4d466.tar.gz packages-cdeb4e943e4f1f9802a707db11030f5d59b4d466.tar.bz2 packages-cdeb4e943e4f1f9802a707db11030f5d59b4d466.tar.xz packages-cdeb4e943e4f1f9802a707db11030f5d59b4d466.zip |
user/perl-list-moreutils-xs: new package
Diffstat (limited to 'user/perl-list-moreutils-xs/APKBUILD')
-rw-r--r-- | user/perl-list-moreutils-xs/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-list-moreutils-xs/APKBUILD b/user/perl-list-moreutils-xs/APKBUILD new file mode 100644 index 000000000..73f3454a8 --- /dev/null +++ b/user/perl-list-moreutils-xs/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-list-moreutils-xs +pkgver=0.428 +pkgrel=0 +pkgdesc="Provide the stuff missing in List::Util in XS" +url="https://metacpan.org/release/List-MoreUtils-XS" +arch="all" +license="Apache-2.0" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-$pkgver.tar.gz" +builddir="$srcdir/List-MoreUtils-XS-$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="a608568e3c4a2e160e4f9afa26640be5b97ec83e301a6b81849e37951698b9423c0a969d7e8797a49b4fb6c5123780630a3726c64713922b90b21b947682c3dd List-MoreUtils-XS-0.428.tar.gz" |