summaryrefslogtreecommitdiff
path: root/community/libnsgif/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/libnsgif/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/libnsgif/PKGBUILD')
-rw-r--r--community/libnsgif/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/libnsgif/PKGBUILD b/community/libnsgif/PKGBUILD
new file mode 100644
index 000000000..e12f1bb55
--- /dev/null
+++ b/community/libnsgif/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=libnsgif
+pkgver=0.0.2
+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=('08dd5fc3ea330784f6c1e55c58244749')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ CFLAGS="$CFLAGS -fno-strict-aliasing" make PREFIX=/usr
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make install PREFIX=/usr DESTDIR=${pkgdir}
+ install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}
+