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

Maxime Gauduin alucryd at archlinux.org
Fri Oct 16 07:41:17 UTC 2020


    Date: Friday, October 16, 2020 @ 07:41:16
  Author: alucryd
Revision: 398432

FS#68224: tomcat9 9.0.39-2

Modified:
  tomcat9/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-16 07:26:07 UTC (rev 398431)
+++ PKGBUILD	2020-10-16 07:41:16 UTC (rev 398432)
@@ -3,7 +3,7 @@
 
 pkgname=tomcat9
 pkgver=9.0.39
-pkgrel=1
+pkgrel=2
 pkgdesc='Open source implementation of the Java Servlet 4.0 and JavaServer Pages 2.3 technologies'
 arch=(any)
 url=https://tomcat.apache.org/
@@ -17,7 +17,7 @@
 makedepends=(
   ant
   git
-  java-environment
+  java-environment=8
 )
 optdepends=('tomcat-native: to allow optimal performance in production environments')
 backup=(
@@ -70,6 +70,9 @@
 build() {
   cd tomcat
 
+  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
+  export PATH="$JAVA_HOME/bin:$PATH"
+
   ant
 }
 



More information about the arch-commits mailing list