core/gd/PKGBUILD
Samir 348d542db8 libpng group: update/rebuild platform
will commit them separately next time... it's just too much work to do separate commits right now
2013-07-27 16:51:03 +00:00

36 lines
790 B
Bash

# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=gd
pkgver=2.1.0
pkgrel=1
pkgdesc="Library for the dynamic creation of images by programmers"
arch=('x86_64')
url="http://www.libgd.org/"
license=('custom')
depends=('libpng' 'fontconfig' 'libjpeg-turbo')
optdepends=('perl: bdftogd script')
options=('!libtool')
source=("https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz")
sha1sums=('66c56fc07246b66ba649c83e996fd2085ea2f9e2')
build() {
cd "libgd-${pkgver}"
./configure --prefix=/usr --without-xpm
make
}
check() {
cd libgd-${pkgver}
make check
}
package() {
cd libgd-${pkgver}
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}