summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-11 21:23:49 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:42 +0000
commitd37b25b3a21c60e5c878610cd40b77ba368bf6eb (patch)
treec34072dc115cc2df812baa811e96885aa4a75ce0
parent7439f5b83fe0f3721605a481bfc01294a44d7b0b (diff)
downloadpackages-d37b25b3a21c60e5c878610cd40b77ba368bf6eb.tar.gz
packages-d37b25b3a21c60e5c878610cd40b77ba368bf6eb.tar.bz2
packages-d37b25b3a21c60e5c878610cd40b77ba368bf6eb.tar.xz
packages-d37b25b3a21c60e5c878610cd40b77ba368bf6eb.zip
user/perl-xstring: new package
-rw-r--r--user/perl-xstring/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/perl-xstring/APKBUILD b/user/perl-xstring/APKBUILD
new file mode 100644
index 000000000..815897d8b
--- /dev/null
+++ b/user/perl-xstring/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-xstring
+pkgver=0.005
+pkgrel=0
+pkgdesc="String helpers originally from B-namespace modules"
+url="https://metacpan.org/pod/XString"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/XString-$pkgver.tar.gz"
+builddir="$srcdir/XString-$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="4a6055e9e59169b77e04e8b890944b3a7bc4ff9844ad6b2557f7181f7b1c8576a7aab7ebee351044cbac8f3bff2d37dea2af4bc7ff775fbc3a398c9785c53aaf XString-0.005.tar.gz"