diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 16:41:17 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 16:41:17 +0000 |
commit | b47c24ae242e490bbbb1c8dbde94bf19cd238596 (patch) | |
tree | 453bb7a5217fe743b32dfffff9fd0638e3943e1a /user/perl-data-optlist/APKBUILD | |
parent | 9f626e3a88e8bfac4169c02b4795041e263a7ef8 (diff) | |
parent | 4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3 (diff) | |
download | packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.gz packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.bz2 packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.xz packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.zip |
Merge GNU Stow from @sroracle
Diffstat (limited to 'user/perl-data-optlist/APKBUILD')
-rw-r--r-- | user/perl-data-optlist/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-data-optlist/APKBUILD b/user/perl-data-optlist/APKBUILD new file mode 100644 index 000000000..c2f5f6308 --- /dev/null +++ b/user/perl-data-optlist/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-data-optlist +_pkgreal=Data-OptList +pkgver=0.110 +pkgrel=0 +pkgdesc="Parse and validate simple name/value option pairs" +url="https://metacpan.org/release/Data-OptList" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl perl-params-util perl-sub-install" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_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="68393958a38f509a71cfba61f6dff8303821918ba29ad8492af0c23cfd4f741c6ce98c4f68ad295f27e166287fc546229c430816f0bdd6009d4f60860c967b76 Data-OptList-0.110.tar.gz" |