[arch-commits] Commit in libpano13/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Jun 17 10:46:51 UTC 2019


    Date: Monday, June 17, 2019 @ 10:46:50
  Author: anthraxx
Revision: 356259

upgpkg: libpano13 2.9.19-3 (using modern java makedep)

- minor cleanup and readabillity

Modified:
  libpano13/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-17 10:46:15 UTC (rev 356258)
+++ PKGBUILD	2019-06-17 10:46:50 UTC (rev 356259)
@@ -3,23 +3,28 @@
 
 pkgname=libpano13
 pkgver=2.9.19
-pkgrel=2
+pkgrel=3
 pkgdesc='Basic library to calculate panoramical pictures - core functions of the panotools'
 url='http://panotools.sourceforge.net/'
 arch=('x86_64')
 license=('GPL2')
 depends=('libpng' 'libtiff')
-makedepends=('jdk7-openjdk')
-source=("https://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz")
+makedepends=('java-environment>=11')
+source=(https://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz)
 sha512sums=('f9f147426d44d8babac09cb1a1b5111f88b9c2fc079f33df80133492bcf24cbd1edd771e6bec7bed4b0256bf15c700139c0a83119d3adf296ae5c567e006d868')
 
 build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure --prefix=/usr --mandir=/usr/share/man --with-java=${JAVA_HOME}
-	make
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --with-java="${JAVA_HOME}"
+  make
 }
 
 package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list