summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-05 20:44:38 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-05 20:44:38 (GMT)
commit754b7f7eaf39751cd3a6dd2bdfb925ef7fc259b5 (patch)
tree84565d4e469ce3407737c1c119deae4dbff6434f
parent067b6a8f9d44f008b93d92eda8f05cc35c1de62e (diff)
downloadlinhes_pkgbuild-754b7f7eaf39751cd3a6dd2bdfb925ef7fc259b5.zip
linhes_pkgbuild-754b7f7eaf39751cd3a6dd2bdfb925ef7fc259b5.tar.gz
linhes_pkgbuild-754b7f7eaf39751cd3a6dd2bdfb925ef7fc259b5.tar.bz2
giflib: update to 5.1.0
-rw-r--r--abs/core/giflib/PKGBUILD31
1 files changed, 9 insertions, 22 deletions
diff --git a/abs/core/giflib/PKGBUILD b/abs/core/giflib/PKGBUILD
index d92ecb7..da553cf 100644
--- a/abs/core/giflib/PKGBUILD
+++ b/abs/core/giflib/PKGBUILD
@@ -1,44 +1,31 @@
-# $Id: PKGBUILD 151260 2012-02-25 10:17:00Z allan $
+# $Id$
# 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>
pkgname=giflib
-pkgver=4.1.6
-pkgrel=5
+pkgver=5.1.0
+pkgrel=1
pkgdesc="A library for reading and writing gif images"
url="http://sourceforge.net/projects/giflib/"
arch=('i686' 'x86_64')
license=('MIT')
-depends=('libx11')
-provides=("libungif=${pkgver}")
-conflicts=('libungif')
-replaces=('libungif')
-options=('!libtool')
+depends=('glibc')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('7125644155ae6ad33dbc9fc15a14735f')
+md5sums=('603838feeed62e9eaa90415742adddf9')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i '/AC_PATH_XTRA/d' configure.ac
- libtoolize -f
- autoreconf
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --disable-static
make
-
- # libungif compatibility - instructions taken from Redhat specfile
- MAJOR=`echo ${pkgver} | sed 's/\([0-9]\+\)\..*/\1/'`
- gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.${pkgver}
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
- install -m755 libungif.so.${pkgver} "${pkgdir}/usr/lib/"
- ln -sf libungif.so.${pkgver} "${pkgdir}/usr/lib/libungif.so.4"
- ln -sf libungif.so.4 "${pkgdir}/usr/lib/libungif.so"
-
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
+md5sums=('c7e9f1c10b755ab955156d4c1ac7fc5d')