summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/giflib-lts/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/giflib-lts/PKGBUILD b/libre/giflib-lts/PKGBUILD
new file mode 100644
index 000000000..edb856b0d
--- /dev/null
+++ b/libre/giflib-lts/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 213644 2014-05-27 09:23:45Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Baptiste Daroussin <baptiste.daroussin@gmail.com>
+# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
+# Contributor: mightyjaym <jm.ambrosino@free.fr>
+
+# Maintainer: Márcio Silva (Parabola) <emulatorman@parabola.nu>
+
+_pkgname=giflib
+pkgname=giflib-lts
+pkgver=5.0.6
+pkgrel=1
+pkgdesc="A library for reading and writing gif images"
+url="http://sourceforge.net/projects/giflib/"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('glibc')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
+source=(http://downloads.sourceforge.net/sourceforge/giflib/${_pkgname}-${pkgver}.tar.bz2)
+md5sums=('603838feeed62e9eaa90415742adddf9')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+
+ # remove bin, lib and man files
+ rm -rv "${pkgdir}/usr/"{bin,lib/libgif.so,share/man}
+ mv -v "${pkgdir}/usr/include/"gif_lib{,-lts}.h
+}