upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-gdgraph / trunk / PKGBUILD
bloba3919cd432fd1c906d8fc987d36c3cf63afeb1ad
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>
5 pkgname=perl-gdgraph
6 pkgver=1.54
7 pkgrel=4
8 pkgdesc="Create charts using GD"
9 arch=('any')
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')
17 build() {
18   cd  "$srcdir"/GDGraph-$pkgver
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 package() {
24   cd  "$srcdir"/GDGraph-$pkgver
25   make install DESTDIR="$pkgdir"
26   find "$pkgdir" -name '.packlist' -delete
27   find "$pkgdir" -name '*.pod' -delete