mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
testing/perl-color-rgb-util: new aport
https://metacpan.org/release/Color-RGB-Util/ Utilities related to RGB colors Needed by perl-color-ansi-util
This commit is contained in:
parent
c8411244d2
commit
0b83266cdd
39
testing/perl-color-rgb-util/APKBUILD
Normal file
39
testing/perl-color-rgb-util/APKBUILD
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
|
# Contributor: Celeste <cielesti@protonmail.com>
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
pkgname=perl-color-rgb-util
|
||||||
|
pkgver=0.607
|
||||||
|
pkgrel=0
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Color-RGB-Util
|
||||||
|
pkgdesc="Utilities related to RGB colors"
|
||||||
|
url="https://metacpan.org/release/Color-RGB-Util/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
|
depends="perl"
|
||||||
|
checkdepends="perl-test-exception perl-test-randomresult"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Color-RGB-Util-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||||
|
INSTALLDIRS=vendor \
|
||||||
|
NO_PACKLIST=1 \
|
||||||
|
NO_PERLLOCAL=1
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
1c38fe352918406071b63db389ce986e88619bcaac5c1a25ec061c352db7bd9e00db7951d4031ada1d67ec119b7f4a73d761aa484bbff980c4ed7045987d3aa1 Color-RGB-Util-0.607.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user