summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:22:50 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:22:50 +0000
commit90e23212dc6aa69f3fed30eac3e00dce5f2a9316 (patch)
tree6723c9461a87964eab43eb436dccb7aca94f434f /user
parent5f75f8261b0edb63ed8ba1ad5c0d774270a0249f (diff)
downloadpackages-90e23212dc6aa69f3fed30eac3e00dce5f2a9316.tar.gz
packages-90e23212dc6aa69f3fed30eac3e00dce5f2a9316.tar.bz2
packages-90e23212dc6aa69f3fed30eac3e00dce5f2a9316.tar.xz
packages-90e23212dc6aa69f3fed30eac3e00dce5f2a9316.zip
user/perl-getopt-long-descriptive: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-getopt-long-descriptive/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-getopt-long-descriptive/APKBUILD b/user/perl-getopt-long-descriptive/APKBUILD
new file mode 100644
index 000000000..92fe31c60
--- /dev/null
+++ b/user/perl-getopt-long-descriptive/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-getopt-long-descriptive
+pkgver=0.103
+pkgrel=0
+pkgdesc="Simpler Perl implementation of Getopt::Long"
+url="https://metacpan.org/release/Getopt-Long-Descriptive"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-params-validate perl-sub-exporter"
+makedepends="perl-dev"
+checkdepends="perl-cpan-meta-check perl-test-fatal perl-test-warnings"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-$pkgver.tar.gz"
+builddir="$srcdir/Getopt-Long-Descriptive-$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="9229575bde794fa1213871fbb33a12222737d7979cf4c290200fd85c7da9e3227539809b8380a88a85675429ceb61e505bac8cc4e1408ca63ba92b4e1b33149f Getopt-Long-Descriptive-0.103.tar.gz"