diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 22:29:52 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 22:29:52 -0300 |
commit | 258bafde6bf3c83e4108230457073e8136719a73 (patch) | |
tree | a6132a3a8316be50ff77e3cfcf5c41f94747bd2c /extra/giflib/PKGBUILD | |
parent | 9b703cb6980ff009ca181cecd900cb2e78f5d54e (diff) | |
parent | f6a79a3f5989efc8db63af942851c56f0c462bb1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/pigeonhole/PKGBUILD
community/pv/PKGBUILD
community/python-gnupginterface/PKGBUILD
community/tdl/PKGBUILD
extra/clisp/PKGBUILD
extra/expect/PKGBUILD
extra/gtkpod/PKGBUILD
extra/hspell/PKGBUILD
extra/id3lib/PKGBUILD
extra/imake/PKGBUILD
extra/libfontenc/PKGBUILD
extra/libice/PKGBUILD
extra/libsm/PKGBUILD
extra/libspectre/PKGBUILD
extra/libtasn1/PKGBUILD
extra/libxau/PKGBUILD
extra/libxaw/PKGBUILD
extra/libxxf86dga/PKGBUILD
extra/mp3splt/PKGBUILD
extra/multitail/PKGBUILD
extra/nss_ldap/PKGBUILD
extra/pam_ldap/PKGBUILD
extra/recode/PKGBUILD
extra/ruby/PKGBUILD
extra/squid/PKGBUILD
extra/ssmtp/PKGBUILD
extra/umfpack/PKGBUILD
extra/xorg-xbacklight/PKGBUILD
extra/xorg-xbiff/PKGBUILD
extra/xorg-xcalc/PKGBUILD
extra/xorg-xconsole/PKGBUILD
extra/xorg-xedit/PKGBUILD
extra/xorg-xeyes/PKGBUILD
extra/xorg-xvinfo/PKGBUILD
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 99b3f6fe6..e40d2f4ac 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' 'mips64el') @@ -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" } |