[arch-commits] Commit in java-atk-wrapper/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Dec 5 18:28:07 UTC 2019


    Date: Thursday, December 5, 2019 @ 18:28:06
  Author: anthraxx
Revision: 535663

ensure jvm PATH is set inside package func

Modified:
  java-atk-wrapper/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-05 18:11:10 UTC (rev 535662)
+++ PKGBUILD	2019-12-05 18:28:06 UTC (rev 535663)
@@ -25,7 +25,6 @@
   _pkgname="java-atk-wrapper-openjdk${_jvmver}"
   pkgname+=("${_pkgname}")
   eval "package_${_pkgname}() {
-    export PATH="/usr/lib/jvm/java-${_jvmver}-openjdk/bin:${PATH}"
     _package ${_jvmver}
   }"
 done
@@ -72,6 +71,7 @@
   provides=("java-atk-wrapper-openjdk=${_jvmver}")
 
   cd ${pkgbase}-${pkgver}-${_jvmver}
+  export PATH="/usr/lib/jvm/java-${_jvmver}-openjdk/bin:${PATH}"
   make -j1 DESTDIR="${pkgdir}" install
   rm "${pkgdir}"/usr/lib/*.so*
   rm -f "${pkgdir}"/usr/lib/jvm/java-${_jvmver}-openjdk/conf/*


More information about the arch-commits mailing list