mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
822 B
Bash
28 lines
822 B
Bash
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
|
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
|
|
|
|
pkgname=perl-gd
|
|
pkgver=2.41
|
|
pkgrel=4
|
|
pkgdesc="Interface to Gd Graphics Library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/GD"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/L/LD/LDS/GD-$pkgver.tar.gz)
|
|
md5sums=('15d523ea72b552863453882f7d132712')
|
|
|
|
build() {
|
|
cd $startdir/src/GD-$pkgver
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
|
|
install -D -m0644 GD/Group.pm $pkgdir/usr/lib/perl5/vendor_perl/GD/Group.pm || return 1
|
|
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|