blob: 3d98e482267f5c4989413fe14651e5f89fe3bb85 (
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
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-chart
_pkgreal=Chart
_author=LICHTKIND
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.401.1
pkgrel=0
pkgdesc="Series of charting modules for Perl"
url="https://metacpan.org/release/Chart"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl perl-gd"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-v$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-v$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="03d8999cc2c6da362e77957861c048bb01dfcb1d82d0ae57dcfea98235ccd574929fafa727f221cdbe13b052a4394f38b825bb18aff4ecf3a8fddd87422bbc17 Chart-v2.401.1.tar.gz"
|