diff options
author | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
commit | f7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (patch) | |
tree | e28c5c379825afaf02a927a8f1d1b1fcb94c2362 /extra/giflib/PKGBUILD | |
parent | 70ec180b1cca6eda5576597c2bfff9171f7815bf (diff) |
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'extra/giflib/PKGBUILD')
-rw-r--r-- | extra/giflib/PKGBUILD | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/extra/giflib/PKGBUILD b/extra/giflib/PKGBUILD index bcb81a0d9..ae4ee58fb 100644 --- a/extra/giflib/PKGBUILD +++ b/extra/giflib/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 189261 2013-07-01 19:08:45Z bpiotrowski $ +# $Id: PKGBUILD 191918 2013-08-01 06:59: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.2.1 -pkgrel=3 +pkgver=5.0.4 +pkgrel=2 pkgdesc="A library for reading and writing gif images" url="http://sourceforge.net/projects/giflib/" arch=('i686' 'x86_64') @@ -18,34 +18,24 @@ conflicts=('libungif') replaces=('libungif') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2 - giflib-4.2.1-quantize.patch) -md5sums=('bbd3324af24156d5d7e66ab1cee8508d' - '26174405ba886a89b8a4db18fe653a99') + giflib-5.0.4-include-stddef.patch) +md5sums=('da60935d07374de00a78c2f6f720c8f5' + 'e39b98822334f2bd2009469e5dea65c5') prepare() { cd ${pkgname}-${pkgver} - sed -i -e '/AC_PATH_XTRA/d' -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac - patch -Np1 -i "$srcdir"/giflib-4.2.1-quantize.patch - autoreconf -fi + patch -Np1 -i ../giflib-5.0.4-include-stddef.patch } build() { 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 ${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" } |