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

Maxime Gauduin alucryd at archlinux.org
Fri Oct 9 14:14:42 UTC 2020


    Date: Friday, October 9, 2020 @ 14:14:41
  Author: alucryd
Revision: 397817

FS#68154: tomcat8 8.5.59-2

Modified:
  tomcat8/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-09 13:47:46 UTC (rev 397816)
+++ PKGBUILD	2020-10-09 14:14:41 UTC (rev 397817)
@@ -3,7 +3,7 @@
 
 pkgname=tomcat8
 pkgver=8.5.59
-pkgrel=1
+pkgrel=2
 pkgdesc='Open source implementation of the Java Servlet 3.1 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