From 5b92fcd7100e66aa4275f2a66e05c6218467dcb0 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Thu, 5 May 2022 16:39:23 +0000 Subject: user/perl-convert-color: new package --- user/perl-convert-color/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-convert-color/APKBUILD 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2