diff options
Diffstat (limited to 'extra/gd/PKGBUILD')
-rw-r--r-- | extra/gd/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/gd/PKGBUILD b/extra/gd/PKGBUILD new file mode 100644 index 000000000..d00cc4b2c --- /dev/null +++ b/extra/gd/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 64438 2010-01-20 12:11:26Z ibiru $ +# Maintainer: Eric Belanger <eric@archlinux.org> + +pkgname=gd +pkgver=2.0.36RC1 +pkgrel=3 +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') +options=('!libtool') +source=(http://www.libgd.org/releases/${pkgname}-${pkgver}.tar.bz2 libpng14.patch) +md5sums=('e876979ca3130623a4e7866d9579171a' + '7921556f4960e8d66cf4fb67ea7101b5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i ${srcdir}/libpng14.patch || return 1 + + ./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 +} |