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

Levente Polyak anthraxx at archlinux.org
Wed Jan 13 22:58:35 UTC 2021


    Date: Wednesday, January 13, 2021 @ 22:58:35
  Author: anthraxx
Revision: 406215

archrelease: copy trunk to testing-x86_64

Added:
  libtiff/repos/testing-x86_64/
  libtiff/repos/testing-x86_64/PKGBUILD
    (from rev 406214, libtiff/trunk/PKGBUILD)

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

Copied: libtiff/repos/testing-x86_64/PKGBUILD (from rev 406214, libtiff/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-01-13 22:58:35 UTC (rev 406215)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=libtiff
+pkgver=4.2.0
+pkgrel=1
+pkgdesc='Library for manipulation of TIFF images'
+url='http://www.simplesystems.org/libtiff/'
+arch=('x86_64')
+license=('custom')
+depends=('glibc' 'libjpeg' 'libjpeg.so' 'zlib' 'xz' 'zstd')
+makedepends=('freeglut' 'glu' 'mesa' 'jbigkit')
+optdepends=('freeglut: for using tiffgt')
+provides=('libtiff.so' 'libtiffxx.so')
+source=(https://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz{,.sig})
+sha256sums=('eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb'
+            'SKIP')
+b2sums=('62178da595e7ff4041f33643a87698580cd3a32d4536b5c60c414c9497616258686cf61514e1d4e0f062cb1333190c39ce86896bf07c01532c07454745d89cd9'
+        'SKIP')
+validpgpkeys=('EBDFDB21B020EE8FD151A88DE301047DE1198975') # Bob Friesenhahn <bfriesen at simple.dallas.tx.us>
+
+build() {
+  cd tiff-${pkgver}
+  ./configure \
+    --prefix=/usr \
+	  --sysconfdir=/etc \
+	  --mandir=/usr/share/man \
+    --with-docdir=/usr/share/doc/${pkgname}
+  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
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list