From 4bcc33ddcb009dd9bd442d47fade2576b6305bc3 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Mon, 5 Dec 2022 14:57:35 +0000 Subject: user/perl-graphics-toolkit-color: new package --- user/perl-graphics-toolkit-color/APKBUILD | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-graphics-toolkit-color/APKBUILD 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2