summaryrefslogtreecommitdiff
path: root/extra/gd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gd/PKGBUILD')
-rw-r--r--extra/gd/PKGBUILD23
1 files changed, 12 insertions, 11 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"
}