diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /testing/gd/PKGBUILD | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'testing/gd/PKGBUILD')
-rw-r--r-- | testing/gd/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/gd/PKGBUILD b/testing/gd/PKGBUILD new file mode 100644 index 000000000..c86beabc0 --- /dev/null +++ b/testing/gd/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 148105 2012-01-30 18:46:00Z ibiru $ +# Maintainer: Eric Belanger <eric@archlinux.org> + +pkgname=gd +pkgver=2.0.36RC1 +pkgrel=5 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('i686' 'x86_64') +url="http://www.libgd.org/" +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') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i ${srcdir}/libpng14.patch + ./configure --prefix=/usr --without-xpm + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |