summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 16:44:23 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit1a50f3a5dabfbf24bdc9f9b234558599aa23c7d7 (patch)
tree3b1a0cc388883f1b9edddffd02578d3a60783c60
parent5b92fcd7100e66aa4275f2a66e05c6218467dcb0 (diff)
downloadpackages-1a50f3a5dabfbf24bdc9f9b234558599aa23c7d7.tar.gz
packages-1a50f3a5dabfbf24bdc9f9b234558599aa23c7d7.tar.bz2
packages-1a50f3a5dabfbf24bdc9f9b234558599aa23c7d7.tar.xz
packages-1a50f3a5dabfbf24bdc9f9b234558599aa23c7d7.zip
user/perl-convert-color-xterm: new package
-rw-r--r--user/perl-convert-color-xterm/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-convert-color-xterm/APKBUILD b/user/perl-convert-color-xterm/APKBUILD
new file mode 100644
index 000000000..9b77c8828
--- /dev/null
+++ b/user/perl-convert-color-xterm/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-convert-color-xterm
+_pkgreal=Convert-Color-XTerm
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.06
+pkgrel=0
+pkgdesc="Module for Convert::Color which supports XTerm colour indices"
+url="https://metacpan.org/pod/Convert::Color::XTerm"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends=""
+makedepends="perl-convert-color perl-list-utilsby perl-module-build
+ perl-module-pluggable"
+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="27ac6790f6314dfc0e5f67304f97fdd5ef752721ad82ad493486f99119ea3227a55dc6e479e7086a8c23f1c85fb4c501a06ec1f0638034420c33aaad1facb67a Convert-Color-XTerm-0.06.tar.gz"