summaryrefslogtreecommitdiff
path: root/user/perl-convert-color
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 16:39:23 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit5b92fcd7100e66aa4275f2a66e05c6218467dcb0 (patch)
tree0e59f344de1c9388b33c57979e9c1f0fc729ab9a /user/perl-convert-color
parent53a94e0921c784d0b1af2f2751fa5a725e2dafdb (diff)
downloadpackages-5b92fcd7100e66aa4275f2a66e05c6218467dcb0.tar.gz
packages-5b92fcd7100e66aa4275f2a66e05c6218467dcb0.tar.bz2
packages-5b92fcd7100e66aa4275f2a66e05c6218467dcb0.tar.xz
packages-5b92fcd7100e66aa4275f2a66e05c6218467dcb0.zip
user/perl-convert-color: new package
Diffstat (limited to 'user/perl-convert-color')
-rw-r--r--user/perl-convert-color/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-convert-color/APKBUILD b/user/perl-convert-color/APKBUILD
new file mode 100644
index 000000000..889d53cbc
--- /dev/null
+++ b/user/perl-convert-color/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-convert-color
+_pkgreal=Convert-Color
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.12
+pkgrel=0
+pkgdesc="Perl utilities for color conversion"
+url="https://metacpan.org/pod/Convert::Color"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-number-delta"
+makedepends="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="501690e4fbfdc7c16265a28f2ff7945cdf595e422680d786866e4854cc72345eddf2c2b7756977c5254fd97419289e2c51c64dfda49b20e20b5d026e26a61673 Convert-Color-0.12.tar.gz"