[arch-commits] Commit in libtiff4/repos/community-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Mar 18 09:46:30 UTC 2019


    Date: Monday, March 18, 2019 @ 09:46:29
  Author: alucryd
Revision: 442436

archrelease: copy trunk to community-x86_64

Added:
  libtiff4/repos/community-x86_64/PKGBUILD
    (from rev 442435, libtiff4/trunk/PKGBUILD)
Deleted:
  libtiff4/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 44 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-18 09:46:20 UTC (rev 442435)
+++ PKGBUILD	2019-03-18 09:46:29 UTC (rev 442436)
@@ -1,34 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: lorim <lorimz at gmail.com>
-
-pkgname=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=('gcc-libs' 'glibc' 'libjpeg-turbo' 'zlib')
-source=("http://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz")
-sha256sums=('f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a')
-
-build() {
-  cd tiff-${pkgver}
-
-  ./configure \
-    --prefix='/usr'
-  make
-}
-
-package() {
-  cd tiff-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}"/usr/{bin,include,lib/libtiff{,xx}.{so,a},share}
-  mv "${pkgdir}"/usr/lib/libtiff.so.{3,4}
-  mv "${pkgdir}"/usr/lib/libtiffxx.so.{3,4}
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/libtiff4/
-}
-
-# vim: ts=2 sw=2 et:

Copied: libtiff4/repos/community-x86_64/PKGBUILD (from rev 442435, libtiff4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-18 09:46:29 UTC (rev 442436)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: lorim <lorimz at gmail.com>
+
+pkgname=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=(
+  libjpeg-turbo
+  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
+
+  ./configure \
+    --prefix='/usr'
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C libtiff install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/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/lib/libtiff.so.{3.9.7,4.3.7}
+  mv "${pkgdir}"/usr/lib/libtiffxx.so.{3.9.7,4.3.7}
+  ln -s libtiff.so.4.3.7 "${pkgdir}"/usr/lib/libtiff.so.4
+  ln -s libtiffxx.so.4.3.7 "${pkgdir}"/usr/lib/libtiffxx.so.4
+  install -Dm 644 libtiff/COPYRIGHT -t "${pkgdir}"/usr/share/licenses/libtiff4/
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list