# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Paulo Matias pkgname=libnsgif pkgver=0.0.1 pkgrel=1 pkgdesc="Decoding library for the GIF image file format" arch=("i686" "x86_64") url="http://www.netsurf-browser.org/projects/libnsgif" license=('MIT') depends=('glibc') source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz") md5sums=('a547da766fccacd00fd05190baf644da') build() { cd "${srcdir}/${pkgname}-${pkgver}" CFLAGS="$CFLAGS -fno-strict-aliasing" make PREFIX=/usr || return 1 make install PREFIX=/usr DESTDIR="${pkgdir}" || return 1 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }