summaryrefslogtreecommitdiff
path: root/community/libnsgif/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libnsgif/PKGBUILD')
-rw-r--r--community/libnsgif/PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/community/libnsgif/PKGBUILD b/community/libnsgif/PKGBUILD
index b31fff221..c17d5a370 100644
--- a/community/libnsgif/PKGBUILD
+++ b/community/libnsgif/PKGBUILD
@@ -1,20 +1,22 @@
-# $Id: PKGBUILD 59664 2011-11-29 09:06:33Z arodseth $
+# $Id: PKGBUILD 89124 2013-04-26 23:34:05Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+
pkgname=libnsgif
-pkgver=0.0.3
-pkgrel=3
-pkgdesc="Decoding library for the GIF image file format"
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Decoding library for the GIF image file format'
arch=('x86_64' 'i686')
-url="http://www.netsurf-browser.org/projects/libnsgif/"
+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=('d4fa9679939e9b1b243799d6a0623cec')
+makedepends=('netsurf-buildsystem')
+source=("http://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
+sha256sums=('e7dc7ee887fefc19e7c7985c5a2b057870e0fa3dd0dcfc1fdb4e98da1f36593c')
build() {
- cd "$srcdir/$pkgname-$pkgver-src"
+ cd "$srcdir/$pkgname-$pkgver"
CFLAGS="$CFLAGS -fno-strict-aliasing"
make PREFIX=/usr COMPONENT_TYPE="lib-shared"
@@ -22,7 +24,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver-src"
+ cd "$srcdir/$pkgname-$pkgver"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static"