summaryrefslogtreecommitdiff
path: root/user/perl-string-tagged
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 03:05:00 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commitde10fe2952fc5ffdd8de610e1822d6b419981c15 (patch)
tree6f0a450419bb050b81d2e868b1aed2ed4f382820 /user/perl-string-tagged
parent1d10fbb81f70e9eef224aab22750785e7defe440 (diff)
downloadpackages-de10fe2952fc5ffdd8de610e1822d6b419981c15.tar.gz
packages-de10fe2952fc5ffdd8de610e1822d6b419981c15.tar.bz2
packages-de10fe2952fc5ffdd8de610e1822d6b419981c15.tar.xz
packages-de10fe2952fc5ffdd8de610e1822d6b419981c15.zip
user/perl-string-tagged: new package
Diffstat (limited to 'user/perl-string-tagged')
-rw-r--r--user/perl-string-tagged/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-string-tagged/APKBUILD b/user/perl-string-tagged/APKBUILD
new file mode 100644
index 000000000..2289d89a1
--- /dev/null
+++ b/user/perl-string-tagged/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-string-tagged
+_pkgreal=String-Tagged
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.18
+pkgrel=0
+pkgdesc="String buffers with value tags on extents"
+url="https://metacpan.org/pod/String::Tagged"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-identity"
+makedepends="perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="f5acbdef4fd6f4da702bf14c64228b9cf72e8f52d5b15e21a0c8aa6d53f052cac93e8f4cc0d984a36f8c71ace9bf2096b6017bfe153f14dedddae51a68a3dcdc String-Tagged-0.18.tar.gz"