# $Id: PKGBUILD 211326 2014-04-18 17:38:48Z bpiotrowski $ # Maintainer: Jan de Groot # Contributor: Baptiste Daroussin # Contributor: Grigorios Bouzakis # Contributor: mightyjaym pkgname=giflib pkgver=5.0.6 pkgrel=1 pkgdesc="A library for reading and writing gif images" url="http://sourceforge.net/projects/giflib/" arch=('i686' 'x86_64') license=('MIT') depends=('glibc') makedepends=('xmlto' 'docbook-xml' 'docbook-xsl') source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2) md5sums=('603838feeed62e9eaa90415742adddf9') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --disable-static make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }