diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-12-05 14:57:35 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-02-08 16:26:04 +0000 |
commit | 4bcc33ddcb009dd9bd442d47fade2576b6305bc3 (patch) | |
tree | b68412231af156917397c369dd3d2b87b8f34fcd | |
parent | 3f0cef174f36c5efd0a4ae862cd86f66d2b6bd1c (diff) | |
download | packages-4bcc33ddcb009dd9bd442d47fade2576b6305bc3.tar.gz packages-4bcc33ddcb009dd9bd442d47fade2576b6305bc3.tar.bz2 packages-4bcc33ddcb009dd9bd442d47fade2576b6305bc3.tar.xz packages-4bcc33ddcb009dd9bd442d47fade2576b6305bc3.zip |
user/perl-graphics-toolkit-color: new package
-rw-r--r-- | user/perl-graphics-toolkit-color/APKBUILD | 35 |
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" |