diff options
author | root <root@rshg054.dnsready.net> | 2011-11-30 23:15:09 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-30 23:15:09 +0000 |
commit | fd115d7057eb8243df6edfaf1ed440d6f3e70692 (patch) | |
tree | 0a32bcfa47c11eb3e1127b1de196fb6385ed8723 /community/libnsgif/PKGBUILD | |
parent | 946f0c9fe48dfb648a8a0be065e92f237ce210fd (diff) |
Wed Nov 30 23:15:09 UTC 2011
Diffstat (limited to 'community/libnsgif/PKGBUILD')
-rw-r--r-- | community/libnsgif/PKGBUILD | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/community/libnsgif/PKGBUILD b/community/libnsgif/PKGBUILD index 679d24926..b31fff221 100644 --- a/community/libnsgif/PKGBUILD +++ b/community/libnsgif/PKGBUILD @@ -1,28 +1,32 @@ -# $Id: PKGBUILD 52357 2011-07-23 20:52:47Z ebelanger $ +# $Id: PKGBUILD 59664 2011-11-29 09:06:33Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Contributor: Paulo Matias <matiasΘarchlinux-br·org> -# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> - pkgname=libnsgif pkgver=0.0.3 -pkgrel=1 +pkgrel=3 pkgdesc="Decoding library for the GIF image file format" -arch=('i686' 'x86_64') -url="http://www.netsurf-browser.org/projects/libnsgif" +arch=('x86_64' 'i686') +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") +source=("http://www.netsurf-browser.org/projects/releases/$pkgname-$pkgver-src.tar.gz") md5sums=('d4fa9679939e9b1b243799d6a0623cec') build() { - cd "${srcdir}"/${pkgname}-${pkgver}-src + cd "$srcdir/$pkgname-$pkgver-src" + CFLAGS="$CFLAGS -fno-strict-aliasing" make PREFIX=/usr COMPONENT_TYPE="lib-shared" make PREFIX=/usr COMPONENT_TYPE="lib-static" } package() { - cd "${srcdir}"/${pkgname}-${pkgver}-src - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared" - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static" - install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING + cd "$srcdir/$pkgname-$pkgver-src" + + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared" + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim:set ts=2 sw=2 et: |