diff options
author | root <root@rshg054.dnsready.net> | 2013-07-11 01:38:47 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-11 01:38:47 -0700 |
commit | 2e85ee969c4be5762301fc1447315f132aca1fc8 (patch) | |
tree | 45ce2476a7dec9372c4d13a039237544ff6898d1 /extra/gd | |
parent | b509d58f0ff9d5b9167eb65b0264d014c8ac9d66 (diff) |
Thu Jul 11 01:37:50 PDT 2013
Diffstat (limited to 'extra/gd')
-rw-r--r-- | extra/gd/PKGBUILD | 23 | ||||
-rw-r--r-- | extra/gd/libpng14.patch | 12 |
2 files changed, 12 insertions, 23 deletions
diff --git a/extra/gd/PKGBUILD b/extra/gd/PKGBUILD index edc091c0e..7dd51bbe8 100644 --- a/extra/gd/PKGBUILD +++ b/extra/gd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 184379 2013-05-06 19:37:20Z foutrelis $ +# $Id: PKGBUILD 189861 2013-07-10 07:26:52Z bpiotrowski $ # Maintainer: Eric Belanger <eric@archlinux.org> pkgname=gd -pkgver=2.0.36RC1 -pkgrel=6 +pkgver=2.1.0 +pkgrel=1 pkgdesc="Library for the dynamic creation of images by programmers" arch=('i686' 'x86_64') url="http://www.libgd.org/" @@ -11,21 +11,22 @@ license=('custom') depends=('libpng' 'fontconfig' 'libjpeg') optdepends=('perl: bdftogd script') options=('!libtool') -source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - 'libpng14.patch') -md5sums=('e876979ca3130623a4e7866d9579171a' - '7921556f4960e8d66cf4fb67ea7101b5') +source=(https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz) +md5sums=('03588159bf4faab9079849c8d709acc6') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - patch -Np1 -i ${srcdir}/libpng14.patch + cd libgd-${pkgver} ./configure --prefix=/usr --without-xpm make } +check() { + cd libgd-${pkgver} + make check +} + package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd libgd-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/gd/libpng14.patch b/extra/gd/libpng14.patch deleted file mode 100644 index 19a3fda91..000000000 --- a/extra/gd/libpng14.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur gd-2.0.36RC1.orig/gd_png.c gd-2.0.36RC1/gd_png.c ---- gd-2.0.36RC1.orig/gd_png.c 2007-11-27 10:30:34.000000000 +0200 -+++ gd-2.0.36RC1/gd_png.c 2010-01-17 17:14:11.000000000 +0200 -@@ -151,7 +151,7 @@ - return NULL; - } - -- if (!png_check_sig (sig, 8)) { /* bad signature */ -+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */ - return NULL; /* bad signature */ - } - |