summaryrefslogtreecommitdiff
path: root/community/libnsgif
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
commit43983783a3e8bf61896eb93a2858a14bbaf3a53b (patch)
treec3085b8900db730e945868819ed112708a661653 /community/libnsgif
parent0e8166d926f929f470d01d5bc8c8823e094742da (diff)
Sun Jul 24 23:18:00 UTC 2011
Diffstat (limited to 'community/libnsgif')
-rw-r--r--community/libnsgif/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/libnsgif/PKGBUILD b/community/libnsgif/PKGBUILD
index e12f1bb55..679d24926 100644
--- a/community/libnsgif/PKGBUILD
+++ b/community/libnsgif/PKGBUILD
@@ -1,8 +1,9 @@
+# $Id: PKGBUILD 52357 2011-07-23 20:52:47Z ebelanger $
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=libnsgif
-pkgver=0.0.2
+pkgver=0.0.3
pkgrel=1
pkgdesc="Decoding library for the GIF image file format"
arch=('i686' 'x86_64')
@@ -10,18 +11,18 @@ 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=('08dd5fc3ea330784f6c1e55c58244749')
+md5sums=('d4fa9679939e9b1b243799d6a0623cec')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- CFLAGS="$CFLAGS -fno-strict-aliasing" make PREFIX=/usr
+ 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}
-
- make install PREFIX=/usr DESTDIR=${pkgdir}
- 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
}
-