summaryrefslogtreecommitdiff
path: root/user/perl-string-tagged-terminal/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 16:46:31 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit9eff718c72a0364c4d48585abac3d0d0c5f28c2d (patch)
tree1e057506b25e803ee89b77e9ed71e29ee28ed0e6 /user/perl-string-tagged-terminal/APKBUILD
parent1a50f3a5dabfbf24bdc9f9b234558599aa23c7d7 (diff)
downloadpackages-9eff718c72a0364c4d48585abac3d0d0c5f28c2d.tar.gz
packages-9eff718c72a0364c4d48585abac3d0d0c5f28c2d.tar.bz2
packages-9eff718c72a0364c4d48585abac3d0d0c5f28c2d.tar.xz
packages-9eff718c72a0364c4d48585abac3d0d0c5f28c2d.zip
user/perl-string-tagged-terminal: new package
Diffstat (limited to 'user/perl-string-tagged-terminal/APKBUILD')
-rw-r--r--user/perl-string-tagged-terminal/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-string-tagged-terminal/APKBUILD b/user/perl-string-tagged-terminal/APKBUILD
new file mode 100644
index 000000000..c0467f88f
--- /dev/null
+++ b/user/perl-string-tagged-terminal/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-string-tagged-terminal
+_pkgreal=String-Tagged-Terminal
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.05
+pkgrel=0
+pkgdesc="String buffers with value tags on extents"
+url="https://metacpan.org/pod/String::Tagged::Terminal"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-list-utilsby perl-module-pluggable"
+makedepends="perl-convert-color perl-convert-color-xterm perl-module-build
+ perl-string-tagged"
+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="8a2c053b106b98b5eb145dab2aa1ac65123876b5074e35c3c1920a6d529e74a48e344a5ea330c636305a61543fcfad10d10acbb717b8784e9cfca7b67ce57bf3 String-Tagged-Terminal-0.05.tar.gz"