diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 02:25:05 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 02:25:05 +0000 |
commit | b1804b053a32185209f2e77b4f54e315cd89c5b5 (patch) | |
tree | 8e006f3da5dc9e0481cb762f40cd76b8455d15cc /user | |
parent | 272dbccd66c28d0461cc272c91082b9c633b7edb (diff) | |
download | packages-b1804b053a32185209f2e77b4f54e315cd89c5b5.tar.gz packages-b1804b053a32185209f2e77b4f54e315cd89c5b5.tar.bz2 packages-b1804b053a32185209f2e77b4f54e315cd89c5b5.tar.xz packages-b1804b053a32185209f2e77b4f54e315cd89c5b5.zip |
user/perl-chart: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-chart/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-chart/APKBUILD b/user/perl-chart/APKBUILD new file mode 100644 index 000000000..7945829c0 --- /dev/null +++ b/user/perl-chart/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-chart +_pkgname=Chart +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/C/CH/CHARTGRP/Chart-$pkgver.tar.gz" +builddir="$srcdir/Chart-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="e8327c46e0cbcea0ed8f723b7b369f4b694c0d7050d3fab35371e0717938292b5bacd3e367ed87e272dc258db020c378690405f93d23ba0ed546dc29dd59e37d Chart-2.4.10.tar.gz" |