[arch-commits] Commit in lib32-libtiff/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Nov 19 22:26:03 UTC 2018


    Date: Monday, November 19, 2018 @ 22:26:01
  Author: anthraxx
Revision: 408977

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   91 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 50 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-19 22:25:50 UTC (rev 408976)
+++ PKGBUILD	2018-11-19 22:26:01 UTC (rev 408977)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-_pkgbasename=libtiff
-pkgname=lib32-$_pkgbasename
-pkgver=4.0.9
-pkgrel=1
-pkgdesc="Library for manipulation of TIFF images (32-bit)"
-arch=('x86_64')
-url="http://www.simplesystems.org/libtiff/"
-license=('custom')
-depends=('lib32-gcc-libs' 'lib32-libjpeg' 'lib32-zlib' 'lib32-xz' $_pkgbasename)
-makedepends=('gcc-multilib')
-source=(http://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz)
-sha512sums=('04f3d5eefccf9c1a0393659fe27f3dddd31108c401ba0dc587bca152a1c1f6bc844ba41622ff5572da8cc278593eff8c402b44e7af0a0090e91d326c2d79f6cd')
-
-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"
-}

Copied: lib32-libtiff/repos/multilib-x86_64/PKGBUILD (from rev 408976, lib32-libtiff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-19 22:26:01 UTC (rev 408977)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+_pkgname=libtiff
+pkgname=lib32-${_pkgname}
+pkgver=4.0.10
+pkgrel=1
+pkgdesc='Library for manipulation of TIFF images (32-bit)'
+url='http://www.simplesystems.org/libtiff/'
+arch=('x86_64')
+license=('custom')
+depends=('libtiff' 'lib32-gcc-libs' 'lib32-libjpeg' 'lib32-zlib' 'lib32-xz' 'lib32-zstd')
+source=(https://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz{,.sig})
+sha512sums=('d213e5db09fd56b8977b187c5a756f60d6e3e998be172550c2892dbdb4b2a8e8c750202bc863fe27d0d1c577ab9de1710d15e9f6ed665aadbfd857525a81eea8'
+            'SKIP')
+validpgpkeys=('EBDFDB21B020EE8FD151A88DE301047DE1198975') # Bob Friesenhahn <bfriesen at simple.dallas.tx.us>
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd tiff-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --mandir=/usr/share/man \
+    --with-docdir=/usr/share/doc/${pkgname} \
+    --libdir=/usr/lib32 \
+    --includedir=/usr/include/libtiff32
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd tiff-${pkgver}
+  make check
+}
+
+package() {
+  cd tiff-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{share,bin}
+  mkdir -p "${pkgdir}/usr/share/licenses"
+  ln -s ${_pkgname} "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list