blob: 732247bae6b01384bf8d6aac3a42db7507bcde28 (
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.71
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="77f694d9b384641792c5a368b7443495f2484eeef673dee1d1b0340a96d6259d87d427bc67934beaf31b1ce58d9346e7a77998b685897ba07fc83f5431ae70e7 Graphics-Toolkit-Color-1.71.tar.gz"
|