1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
3 # Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
8 pkgdesc="Create charts using GD"
10 url="https://search.cpan.org/dist/GDGraph"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl-gd>=1.18' 'perl-gdtextutil>=0.80')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/R/RU/RUZ/GDGraph-$pkgver.tar.gz)
15 sha256sums=('b96f5c10b656c17d16ab65a1777c908297b028d3b6815f6d54b2337f006bfa4f')
18 cd "$srcdir"/GDGraph-$pkgver
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
24 cd "$srcdir"/GDGraph-$pkgver
25 make install DESTDIR="$pkgdir"
26 find "$pkgdir" -name '.packlist' -delete
27 find "$pkgdir" -name '*.pod' -delete