summaryrefslogtreecommitdiff
path: root/community-testing/perl-gd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
committerroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
commit483f7de4ab6a706517279a24d2efc969f4a1996d (patch)
tree128a7513d3e42c4d8812b5fd11a4afb116399762 /community-testing/perl-gd
parent89dd7b5f30d48c708092a71b1c8285090fe91505 (diff)
Mon May 28 17:43:57 UTC 2012
Diffstat (limited to 'community-testing/perl-gd')
-rw-r--r--community-testing/perl-gd/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community-testing/perl-gd/PKGBUILD b/community-testing/perl-gd/PKGBUILD
new file mode 100644
index 000000000..ff2ad7043
--- /dev/null
+++ b/community-testing/perl-gd/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 71402 2012-05-27 07:40:23Z bluewind $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
+
+pkgname=perl-gd
+pkgver=2.46
+pkgrel=3
+pkgdesc="Interface to Gd Graphics Library"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/GD"
+license=('GPL' 'PerlArtistic')
+depends=('gd')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/L/LD/LDS/GD-$pkgver.tar.gz)
+md5sums=('ea86a94eb45330eae27ecbfd5c2f43bb')
+
+build() {
+ cd $srcdir/GD-$pkgver
+ unset CFLAGS
+ unset LDFLAGS
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make CCFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+}
+package() {
+ cd $srcdir/GD-$pkgver
+ make install DESTDIR=$pkgdir
+ find $pkgdir -name '.packlist' -delete
+ find $pkgdir -name '*.pod' -delete
+}