diff options
Diffstat (limited to 'user/perl-gdgraph/APKBUILD')
-rw-r--r-- | user/perl-gdgraph/APKBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/user/perl-gdgraph/APKBUILD b/user/perl-gdgraph/APKBUILD index ffde91d01..0b6270231 100644 --- a/user/perl-gdgraph/APKBUILD +++ b/user/perl-gdgraph/APKBUILD @@ -1,35 +1,36 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> -# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=perl-gdgraph -_pkgname=GDGraph -pkgver=1.54 +_pkgreal=GDGraph +_author=BPS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=1.56 pkgrel=0 pkgdesc="Produce charts from Perl using GD" url="https://metacpan.org/release/GDGraph" arch="noarch" -license="Artistic-1.0-Perl OR GPL-2.0-only" -depends="perl-gd perl-gdtextutil" +options="!check" # testsuite exercises library rather than just itself +license="Artistic-1.0-Perl OR GPL-1.0+" +depends="perl perl-gd perl-gdtextutil" checkdepends="perl-capture-tiny perl-test-exception" makedepends="perl-dev" subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/R/RU/RUZ/GDGraph-$pkgver.tar.gz" -builddir="$srcdir/GDGraph-$pkgver" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$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="0dd0da5fa0e879cf2addcbfdd02ee8e9e6af715b88b451dc29fe5028f30d7ba7fa0e126d07e7bb4f9a63e40b3be95a9cc0f6c061ea8644ba0ee7fdd2a7964fce GDGraph-1.54.tar.gz" +sha512sums="4a336e02cf3ca75b41ccef42d8790b00d7ff60c63686f49c3b0d1fe8ff29ce76c52d4603f74c9b2704e1f1d2ca71f2313dcb692ae10261dbf8e0e05a7172dc71 GDGraph-1.56.tar.gz" |