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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 6 04:46:48 UTC 2015


    Date: Sunday, December 6, 2015 @ 05:46:48
  Author: bpiotrowski
Revision: 148817

archrelease: copy trunk to multilib-staging-x86_64

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

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

Copied: lib32-libtiff/repos/multilib-staging-x86_64/PKGBUILD (from rev 148816, lib32-libtiff/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2015-12-06 04:46:48 UTC (rev 148817)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+_pkgbasename=libtiff
+pkgname=lib32-$_pkgbasename
+pkgver=4.0.6
+pkgrel=2
+pkgdesc="Library for manipulation of TIFF images (32-bit)"
+arch=('x86_64')
+url="http://www.remotesensing.org/libtiff/"
+license=('custom')
+depends=('lib32-gcc-libs' 'lib32-libjpeg' 'lib32-zlib' 'lib32-xz' $_pkgbasename)
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=(ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz)
+sha1sums=('280e27704eaca5f592b82e71ac0c78b87395e2de')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/tiff-${pkgver}"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib32 --includedir=/usr/include/libtiff32
+  make
+}
+
+check() {
+cd "${srcdir}/tiff-${pkgver}"
+make check
+}
+
+package() {
+  cd "${srcdir}/tiff-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{share,bin}
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list