[arch-commits] Commit in libgeotiff/trunk (PKGBUILD libgeotiff.changelog)

Bruno Pagani archange at gemini.archlinux.org
Mon Jun 27 21:32:38 UTC 2022


    Date: Monday, June 27, 2022 @ 21:32:38
  Author: archange
Revision: 1239766

upgpkg: libgeotiff 1.7.1-1

Modified:
  libgeotiff/trunk/PKGBUILD
  libgeotiff/trunk/libgeotiff.changelog

----------------------+
 PKGBUILD             |   35 ++++++++++++++++++++++-------------
 libgeotiff.changelog |    3 +++
 2 files changed, 25 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-27 21:32:28 UTC (rev 1239765)
+++ PKGBUILD	2022-06-27 21:32:38 UTC (rev 1239766)
@@ -1,31 +1,40 @@
 # Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
 # Contributor: Brad Fanella <bradfanella at archlinux.us>
 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=libgeotiff
-pkgver=1.6.0
-pkgrel=4
+pkgver=1.7.1
+pkgrel=1
 pkgdesc="A TIFF based interchange format for georeferenced raster imagery"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/OSGeo/libgeotiff"
-license=('custom')
-depends=('libtiff' 'proj' 'libjpeg-turbo')
+license=(custom)
+depends=(libtiff proj libjpeg-turbo zlib)
 changelog=$pkgname.changelog
 source=(https://github.com/OSGeo/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('9311017e5284cffb86f2c7b7a9df1fb5ebcdc61c30468fb2e6bca36e4272ebca')
+sha256sums=('05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6')
 
+prepare() {
+  cd $pkgname-$pkgver
+  autoreconf -vfi
+}
+
 build() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  ./configure --prefix=/usr
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-jpeg=yes --with-zlib=yes
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
 package() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
+  cd $pkgname-$pkgver
   make DESTDIR="${pkgdir}" install
-
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/libgeotiff/LICENSE
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
 }

Modified: libgeotiff.changelog
===================================================================
--- libgeotiff.changelog	2022-06-27 21:32:28 UTC (rev 1239765)
+++ libgeotiff.changelog	2022-06-27 21:32:38 UTC (rev 1239766)
@@ -1,3 +1,6 @@
+2022-06-27 Bruno Pagani <archange at archlinux.org>
+	* libgeotiff 1.7.1-1
+
 2020-07-06 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* libgeotiff 1.6.0-1
 



More information about the arch-commits mailing list