diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-08-10 14:21:48 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-08-10 14:21:48 (GMT) |
commit | 9c273574caea01c1adc975529f4ae857e0872f00 (patch) | |
tree | 3db4c5a6d7625de89be8381e2c48170407f81d28 /abs/extra/gd/PKGBUILD | |
parent | 997c6b992822c4304685fdbf501354ba3df9e695 (diff) | |
download | linhes_pkgbuild-9c273574caea01c1adc975529f4ae857e0872f00.zip linhes_pkgbuild-9c273574caea01c1adc975529f4ae857e0872f00.tar.gz linhes_pkgbuild-9c273574caea01c1adc975529f4ae857e0872f00.tar.bz2 |
gd: update to 2.1.1
Diffstat (limited to 'abs/extra/gd/PKGBUILD')
-rw-r--r-- | abs/extra/gd/PKGBUILD | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/abs/extra/gd/PKGBUILD b/abs/extra/gd/PKGBUILD index b050624..f3dfcd2 100644 --- a/abs/extra/gd/PKGBUILD +++ b/abs/extra/gd/PKGBUILD @@ -1,27 +1,28 @@ # $Id$ pkgname=gd -pkgver=2.1.0 -pkgrel=3 +pkgver=2.1.1 +pkgrel=2 pkgdesc="Library for the dynamic creation of images by programmers" arch=('i686' 'x86_64') url="http://www.libgd.org/" license=('custom') depends=('fontconfig' 'libvpx' 'libxpm' 'libtiff') +makedepends=('git') optdepends=('perl: bdftogd script') -source=("https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz" - 'color_c_null_pointer.patch') -md5sums=('03588159bf4faab9079849c8d709acc6' - '51f5ff073eabbd7809e0ce438d5bb1c2') +source=("${pkgname}::git+https://github.com/libgd/libgd.git#tag=${pkgname}-${pkgver}" + gd-2.1.1-libvpx-1.4.0.patch) +md5sums=('SKIP' + '9114dd8259aaa88b0a09188fe7b19afc') prepare() { - cd libgd-${pkgver} - # CVE-2014-2497 - patch -p1 -i ${srcdir}/color_c_null_pointer.patch + cd ${pkgname} + ./bootstrap.sh + patch -p1 -i "${srcdir}/gd-2.1.1-libvpx-1.4.0.patch" } build() { - cd libgd-${pkgver} + cd ${pkgname} ./configure \ --prefix=/usr \ --disable-rpath \ @@ -31,12 +32,12 @@ build() { } check() { - cd libgd-${pkgver} + cd ${pkgname} make check } package() { - cd libgd-${pkgver} + cd ${pkgname} make DESTDIR="${pkgdir}" install install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |