summaryrefslogblamecommitdiff
path: root/user/perl-chart/APKBUILD
blob: 9f0d2bca5d43da4cfde9043b0acb2b10fd1c1cef (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               








                                             

                                                                                        

         




                                                                 



                 




                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-chart
_pkgreal=Chart
_author=CHARTGRP
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.4.10
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-gd"
makedepends="perl-dev"
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="e8327c46e0cbcea0ed8f723b7b369f4b694c0d7050d3fab35371e0717938292b5bacd3e367ed87e272dc258db020c378690405f93d23ba0ed546dc29dd59e37d  Chart-2.4.10.tar.gz"