summaryrefslogtreecommitdiff
path: root/user/perl-string-tagged-terminal
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-string-tagged-terminal')
-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"