summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/perl-graphics-toolkit-color/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-graphics-toolkit-color/APKBUILD b/user/perl-graphics-toolkit-color/APKBUILD
new file mode 100644
index 000000000..e8b072c4a
--- /dev/null
+++ b/user/perl-graphics-toolkit-color/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-graphics-toolkit-color
+_pkgreal=Graphics-Toolkit-Color
+_author=LICHTKIND
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=1.04
+pkgrel=0
+pkgdesc="Color palette creation helper"
+url="https://metacpan.org/pod/Graphics::Toolkit::Color"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-warn"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="3a2962b15f51885a35977dfaedf3251e1bf139423c9e6ceb624431f007ade029d8dfc6a4542b4299f9885d6c6db5f211a8fde34daf57c4de4f3159a121b565e7 Graphics-Toolkit-Color-1.04.tar.gz"