summaryrefslogtreecommitdiffstats
path: root/abs/extra/gd/PKGBUILD
blob: 3df77a11f6aa6b3f50d06915142f1a1a269f4aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=gd
pkgver=2.0.35
pkgrel=2
pkgdesc="Library for the dynamic creation of images by programmers"
arch=('i686' 'x86_64')
url="http://www.libgd.org/"
license=('custom')
depends=('libpng>=1.2.16' 'fontconfig>=2.4.2' 'libjpeg')
options=('!libtool')
source=(http://www.libgd.org/releases/${pkgname}-${pkgver}.tar.bz2)
md5sums=('6c6c3dbb7bf079e0bb5fbbfd3bb8a71c')
sha1sums=('ccf34a610abff2dbf133a20c4d2a4aa94939018a')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --without-xpm
  make || return 1
  make DESTDIR=${startdir}/pkg install
  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}