diff options
author | root <root@rshg054.dnsready.net> | 2012-02-26 23:15:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-26 23:15:00 +0000 |
commit | f6a79a3f5989efc8db63af942851c56f0c462bb1 (patch) | |
tree | 08bddecba9bbd4fc2c2075bfa2c514f710fcd351 /extra/giflib/PKGBUILD | |
parent | e4a5730eb358cb0d78bc022204ddccac068c2bf2 (diff) |
Sun Feb 26 23:15:00 UTC 2012
Diffstat (limited to 'extra/giflib/PKGBUILD')
-rw-r--r-- | extra/giflib/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/giflib/PKGBUILD b/extra/giflib/PKGBUILD index 86d445528..d92ecb746 100644 --- a/extra/giflib/PKGBUILD +++ b/extra/giflib/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 117538 2011-04-04 10:27:03Z jgc $ +# $Id: PKGBUILD 151260 2012-02-25 10:17:00Z allan $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Baptiste Daroussin <baptiste.daroussin@gmail.com> # Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com> @@ -6,7 +6,7 @@ pkgname=giflib pkgver=4.1.6 -pkgrel=4 +pkgrel=5 pkgdesc="A library for reading and writing gif images" url="http://sourceforge.net/projects/giflib/" arch=('i686' 'x86_64') @@ -26,14 +26,19 @@ build() { autoreconf ./configure --prefix=/usr --disable-static make - make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" # 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}" + 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" } |