summaryrefslogblamecommitdiff
path: root/user/perl-graphics-toolkit-color/APKBUILD
blob: 290cf6083c203ec436a16ae36d145acf7d209338 (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
           

























                                                                                        
                                                                                                                                                                                 
# 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.08
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="b8f35dda6767343602f69b4a49000987802342567195392d0a342e5cecf7db0d1451e85165a566a766ac046cd574ac0f8518e928b3ca2e78e6d8681819738bf6  Graphics-Toolkit-Color-1.08.tar.gz"