summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-14 16:38:33 -0500
committerKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-14 16:38:33 -0500
commit59360d919f50cca5564c275f7a850b4351ee67b0 (patch)
tree7cf132cdb44e88501dd3f984feba0e84a79add40
parentda93fd5f30a080636ee1385fcff47638ca71e072 (diff)
downloadpackages-59360d919f50cca5564c275f7a850b4351ee67b0.tar.gz
packages-59360d919f50cca5564c275f7a850b4351ee67b0.tar.bz2
packages-59360d919f50cca5564c275f7a850b4351ee67b0.tar.xz
packages-59360d919f50cca5564c275f7a850b4351ee67b0.zip
user/perl-string-trim-more: new package
-rw-r--r--user/perl-string-trim-more/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-string-trim-more/APKBUILD b/user/perl-string-trim-more/APKBUILD
new file mode 100644
index 000000000..e96b46a63
--- /dev/null
+++ b/user/perl-string-trim-more/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-string-trim-more
+_pkgreal=String-Trim-More
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.03
+pkgrel=0
+pkgdesc="Perl utilities for trimming strings"
+url="https://metacpan.org/pod/String::Trim::More"
+arch="noarch"
+license="Artistic-2.0 OR GPL-2.0-only"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/String-Trim-More-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="b9c1613bfe736f24b875bd1aaed485d0902ffa7f0e2a8ca65e8e735a37c32199008fca7de6dac5e37cb4aacbee8bf12f61731e0868dddea18620f471548c1493 String-Trim-More-0.03.tar.gz"