diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/gd/ChangeLog | 11 | ||||
-rw-r--r-- | abs/extra/gd/PKGBUILD | 23 |
2 files changed, 14 insertions, 20 deletions
diff --git a/abs/extra/gd/ChangeLog b/abs/extra/gd/ChangeLog deleted file mode 100644 index 813a49e..0000000 --- a/abs/extra/gd/ChangeLog +++ /dev/null @@ -1,11 +0,0 @@ -2010-01-17 Ionut Biru <ionut@archlinux.ro> - - * gd 2.0.36RC1-2 - * libpng 1.4.0/libjpeg 8 rebuild - -2009-10-30 Eric Belanger <eric@archlinux.org> - - * gd 2.0.36RC1-1 - * Upstream update - * Added perl depends - * Added ChangeLog diff --git a/abs/extra/gd/PKGBUILD b/abs/extra/gd/PKGBUILD index 4580855..2d89e7b 100644 --- a/abs/extra/gd/PKGBUILD +++ b/abs/extra/gd/PKGBUILD @@ -1,26 +1,31 @@ -# $Id: PKGBUILD 64437 2010-01-20 12:10:30Z ibiru $ +# $Id: PKGBUILD 148724 2012-02-05 11:48:15Z ibiru $ # Maintainer: Eric Belanger <eric@archlinux.org> pkgname=gd pkgver=2.0.36RC1 -pkgrel=3 +pkgrel=5 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=('libpng' 'fontconfig' 'libjpeg') +optdepends=('perl: bdftogd script') 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}/LICENSE" } |