blob: e8b072c4a366d417748e1396182b533eb1ddd76d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"
|