summaryrefslogtreecommitdiff
path: root/extra/giflib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-12 01:16:13 -0700
committerroot <root@rshg054.dnsready.net>2013-05-12 01:16:13 -0700
commit5b9e0d821dd428792bd51ed03af2b800924ce69d (patch)
treee789152a7a0fd6ae4eb0a7d0e572d392f81beca4 /extra/giflib
parent207b7c7b0d7bc0db898a2386a665bdb20495fb19 (diff)
Sun May 12 01:15:39 PDT 2013
Diffstat (limited to 'extra/giflib')
-rw-r--r--extra/giflib/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/giflib/PKGBUILD b/extra/giflib/PKGBUILD
index d92ecb746..5b3920e4d 100644
--- a/extra/giflib/PKGBUILD
+++ b/extra/giflib/PKGBUILD
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD 151260 2012-02-25 10:17:00Z allan $
+# $Id: PKGBUILD 185106 2013-05-11 07:24:47Z bpiotrowski $
# 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=4.2.1
+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')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
provides=("libungif=${pkgver}")
conflicts=('libungif')
replaces=('libungif')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('7125644155ae6ad33dbc9fc15a14735f')
+md5sums=('bbd3324af24156d5d7e66ab1cee8508d')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed -i -e '/AC_PATH_XTRA/d' -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
+ autoreconf -fi
+}
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
@@ -33,7 +37,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -m755 libungif.so.${pkgver} "${pkgdir}/usr/lib/"