summaryrefslogtreecommitdiff
path: root/extra/gd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
commit1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch)
tree4f22b6f4f4737987b4eec85fbc027684f209df2e /extra/gd
parent1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff)
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'extra/gd')
-rw-r--r--extra/gd/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/gd/PKGBUILD b/extra/gd/PKGBUILD
index d00cc4b2c..29eeed43a 100644
--- a/extra/gd/PKGBUILD
+++ b/extra/gd/PKGBUILD
@@ -1,26 +1,30 @@
-# $Id: PKGBUILD 64438 2010-01-20 12:11:26Z ibiru $
+# $Id: PKGBUILD 137764 2011-09-10 16:29:02Z pierre $
# Maintainer: Eric Belanger <eric@archlinux.org>
pkgname=gd
pkgver=2.0.36RC1
-pkgrel=3
+pkgrel=4
pkgdesc="Library for the dynamic creation of images by programmers"
arch=('i686' 'x86_64')
url="http://www.libgd.org/"
license=('custom')
-depends=('perl' 'libpng>=1.4.0' 'fontconfig' 'libjpeg>=8')
+depends=('perl' 'libpng' 'fontconfig' 'libjpeg')
options=('!libtool')
-source=(http://www.libgd.org/releases/${pkgname}-${pkgver}.tar.bz2 libpng14.patch)
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'libpng14.patch')
md5sums=('e876979ca3130623a4e7866d9579171a'
'7921556f4960e8d66cf4fb67ea7101b5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ${srcdir}/libpng14.patch || return 1
+ patch -Np1 -i ${srcdir}/libpng14.patch
+ ./configure --prefix=/usr --without-xpm
+ make
+}
- ./configure --prefix=/usr --without-xpm || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}