[arch-commits] Commit in lib32-libtiff4/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Mar 18 10:14:56 UTC 2019
Date: Monday, March 18, 2019 @ 10:14:55
Author: alucryd
Revision: 442438
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libtiff4/repos/multilib-x86_64/PKGBUILD
(from rev 442437, lib32-libtiff4/trunk/PKGBUILD)
Deleted:
lib32-libtiff4/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 52 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-18 10:14:46 UTC (rev 442437)
+++ PKGBUILD 2019-03-18 10:14:55 UTC (rev 442438)
@@ -1,41 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: lorim <lorimz at gmail.com>
-
-pkgname=lib32-libtiff4
-pkgver=3.9.7
-pkgrel=2
-pkgdesc='Library for manipulation of TIFF images'
-arch=('x86_64')
-url='http://www.remotesensing.org/libtiff/'
-license=('custom')
-depends=('lib32-gcc-libs' 'lib32-glibc' 'lib32-libjpeg-turbo' 'lib32-zlib')
-makedepends=('gcc-multilib')
-source=("http://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz")
-sha256sums=('f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a')
-
-build() {
- cd tiff-${pkgver}
-
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32'
- make
-}
-
-package() {
- cd tiff-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{bin,include,lib32/libtiff{,xx}.{so,a},share}
- mv "${pkgdir}"/usr/lib32/libtiff.so.{3,4}
- mv "${pkgdir}"/usr/lib32/libtiffxx.so.{3,4}
-
- install -dm 755 "${pkgdir}"/usr/share/licenses
- ln -s libtiff4 "${pkgdir}"/usr/share/licenses/lib32-libtiff4
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-libtiff4/repos/multilib-x86_64/PKGBUILD (from rev 442437, lib32-libtiff4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-18 10:14:55 UTC (rev 442438)
@@ -0,0 +1,52 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: lorim <lorimz at gmail.com>
+
+pkgname=lib32-libtiff4
+pkgver=3.9.7
+pkgrel=3
+pkgdesc='Library for manipulation of TIFF images'
+arch=(x86_64)
+url=http://www.simplesystems.org/libtiff/
+license=(custom)
+depends=(
+ lib32-gcc-libs
+ lib32-glibc
+ lib32-libjpeg-turbo
+ lib32-zlib
+)
+makedepends=(git)
+source=(git+https://gitlab.com/libtiff/libtiff.git#tag=Release-v${pkgver//./-})
+sha256sums=(SKIP)
+
+prepare() {
+ cd libtiff
+
+ ./autogen.sh
+}
+
+build() {
+ cd libtiff
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32'
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C libtiff install
+ rm -rf "${pkgdir}"/usr/{bin,include,lib32/libtiff{,xx}.{a,so,so.3},share}
+ # Rename 3.9.7 to 4.3.7, 3.6.x was the first release with the unintentional ABI change
+ mv "${pkgdir}"/usr/lib32/libtiff.so.{3.9.7,4.3.7}
+ mv "${pkgdir}"/usr/lib32/libtiffxx.so.{3.9.7,4.3.7}
+ ln -s libtiff.so.4.3.7 "${pkgdir}"/usr/lib32/libtiff.so.4
+ ln -s libtiffxx.so.4.3.7 "${pkgdir}"/usr/lib32/libtiffxx.so.4
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s libtiff4 "${pkgdir}"/usr/share/licenses/lib32-libtiff4
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list