diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-06-29 17:57:19 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-06-29 17:57:19 -0300 |
commit | 979ebcbb27dda1fd9c806544dc646b4cff2b4684 (patch) | |
tree | cdc449356391e6f14773c4f8be061a6443be2c69 /libre/giflib-lts/PKGBUILD | |
parent | 1077454f4f15c58d53a45bd1f98575ac33fc039b (diff) | |
download | abslibre-979ebcbb27dda1fd9c806544dc646b4cff2b4684.tar.gz abslibre-979ebcbb27dda1fd9c806544dc646b4cff2b4684.tar.bz2 abslibre-979ebcbb27dda1fd9c806544dc646b4cff2b4684.zip |
add giflib-lts for blender
Diffstat (limited to 'libre/giflib-lts/PKGBUILD')
-rw-r--r-- | libre/giflib-lts/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/giflib-lts/PKGBUILD b/libre/giflib-lts/PKGBUILD new file mode 100644 index 000000000..edb856b0d --- /dev/null +++ b/libre/giflib-lts/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 213644 2014-05-27 09:23:45Z jgc $ +# 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> + +# Maintainer: Márcio Silva (Parabola) <emulatorman@parabola.nu> + +_pkgname=giflib +pkgname=giflib-lts +pkgver=5.0.6 +pkgrel=1 +pkgdesc="A library for reading and writing gif images" +url="http://sourceforge.net/projects/giflib/" +arch=('i686' 'x86_64') +license=('MIT') +depends=('glibc') +makedepends=('xmlto' 'docbook-xml' 'docbook-xsl') +source=(http://downloads.sourceforge.net/sourceforge/giflib/${_pkgname}-${pkgver}.tar.bz2) +md5sums=('603838feeed62e9eaa90415742adddf9') + +build() { + cd ${_pkgname}-${pkgver} + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd ${_pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + + # remove bin, lib and man files + rm -rv "${pkgdir}/usr/"{bin,lib/libgif.so,share/man} + mv -v "${pkgdir}/usr/include/"gif_lib{,-lts}.h +} |