diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-15 15:43:18 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-15 15:43:18 (GMT) |
commit | e5c8fa1823e7fdedeee3d54eb005c4f8815a773a (patch) | |
tree | 3d1eaa9f13c6f301e6098b7affcf8924835cb94d /abs/extra/gd/PKGBUILD | |
parent | 88c3b8f7efbfd59df8e5e1e499c8ae4c1bda3c44 (diff) | |
download | linhes_pkgbuild-e5c8fa1823e7fdedeee3d54eb005c4f8815a773a.zip linhes_pkgbuild-e5c8fa1823e7fdedeee3d54eb005c4f8815a773a.tar.gz linhes_pkgbuild-e5c8fa1823e7fdedeee3d54eb005c4f8815a773a.tar.bz2 |
gd 2.0.36
rebuild
Diffstat (limited to 'abs/extra/gd/PKGBUILD')
-rw-r--r-- | abs/extra/gd/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
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" } |