1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
5 pkgdesc="A library for decoding the GIF image format"
7 url="http://www.netsurf-browser.org/projects/libnsgif/"
9 makedepends=('subversion')
11 _svntrunk=svn://svn.netsurf-browser.org/trunk/libnsgif
17 if [ -d $_svnmod/.svn ]; then
18 (cd $_svnmod && svn up -r $pkgver)
20 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
23 msg "SVN checkout done or server timeout"
27 CFLAGS="$CFLAGS -fno-strict-aliasing"
28 make PREFIX=/usr COMPONENT_TYPE="lib-shared"
29 make PREFIX=/usr COMPONENT_TYPE="lib-static"
35 make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared"
36 make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static"
37 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
40 # vim:set ts=2 sw=2 et: