summaryrefslogtreecommitdiff
path: root/community/perl-gd
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-12 14:14:44 +0000
committerroot <root@rshg047.dnsready.net>2011-07-12 14:14:44 +0000
commitec9bd2e246eb94181a9254dcb2de7ddc191bb8cc (patch)
tree2f7af52e79332c2dc24b2c28ac3fceb0cbda7f10 /community/perl-gd
parente03f4b9bc9da3327de94bc58aa92ecb836c1580d (diff)
Tue Jul 12 14:14:44 UTC 2011
Diffstat (limited to 'community/perl-gd')
-rw-r--r--community/perl-gd/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/perl-gd/PKGBUILD b/community/perl-gd/PKGBUILD
index b29f364b0..e93bfa0fa 100644
--- a/community/perl-gd/PKGBUILD
+++ b/community/perl-gd/PKGBUILD
@@ -1,9 +1,10 @@
-# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# $Id: PKGBUILD 51555 2011-07-11 14:02:13Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
pkgname=perl-gd
-pkgver=2.44
-pkgrel=4
+pkgver=2.46
+pkgrel=1
pkgdesc="Interface to Gd Graphics Library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/GD"
@@ -11,19 +12,18 @@ license=('GPL' 'PerlArtistic')
depends=('gd')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/L/LD/LDS/GD-$pkgver.tar.gz)
-md5sums=('9b9a4d78a5af0616a96264b0aa354859')
+md5sums=('ea86a94eb45330eae27ecbfd5c2f43bb')
build() {
cd $srcdir/GD-$pkgver
-
+ unset CFLAGS
+ unset LDFLAGS
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-
- make
+ make CCFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
}
package() {
cd $srcdir/GD-$pkgver
make install DESTDIR=$pkgdir
- install -D -m0644 GD/Group.pm $pkgdir/usr/lib/perl5/vendor_perl/GD/Group.pm
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}