# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/giflib/ pkgname=giflib pkgver=5.1.1 pkgrel=2 pkgdesc="A library for reading and writing gif images" url="http://sourceforge.net/projects/giflib/" arch=('x86_64') license=('MIT') depends=('glibc') makedepends=('xmlto' 'docbook-xml' 'docbook-xsl') source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2) md5sums=('1c39333192712788c6568c78a949f13e') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }