[arch-commits] Commit in lib32-giflib/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:36:29 UTC 2018


    Date: Friday, November 9, 2018 @ 21:36:28
  Author: felixonmars
Revision: 404700

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-giflib/repos/multilib-staging-x86_64/
  lib32-giflib/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 404699, lib32-giflib/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: lib32-giflib/repos/multilib-staging-x86_64/PKGBUILD (from rev 404699, lib32-giflib/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-09 21:36:28 UTC (rev 404700)
@@ -0,0 +1,37 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Baptiste Daroussin <baptiste.daroussin at gmail.com>
+# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
+# Contributor: mightyjaym <jm.ambrosino at free.fr>
+
+_pkgbasename=giflib
+pkgname=lib32-$_pkgbasename
+pkgver=5.1.4
+pkgrel=2
+pkgdesc="A library for reading and writing gif images (32-bit)"
+url="http://sourceforge.net/projects/giflib/"
+arch=('x86_64')
+license=('MIT')
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=('xmlto' 'docbook-xsl' 'docbook-xml')
+source=(https://downloads.sourceforge.net/sourceforge/giflib/${_pkgbasename}-${pkgver}.tar.bz2)
+md5sums=('2c171ced93c0e83bb09e6ccad8e3ba2b')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd ${srcdir}/${_pkgbasename}-${pkgver}
+  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-static
+  make
+}
+
+package() {
+  cd ${srcdir}/${_pkgbasename}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+
+  rm -rf "${pkgdir}"/usr/{include,share,bin}
+  install -m755 -d ${pkgdir}/usr/share/licenses
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list