diff options
author | Fabian Kemper | 2022-12-18 16:21:04 +0100 |
---|---|---|
committer | Fabian Kemper | 2022-12-18 16:21:04 +0100 |
commit | 31098e4fd84f7dc422a2fcc71e6bb58e4dda8a96 (patch) | |
tree | 8f19eb6eb10c79eac894fe422243c9bac26693a4 | |
parent | 49a53454b94e23c73a9229f99e9927eaa7e77fa3 (diff) | |
download | aur-astah-uml.tar.gz |
Add Java8 Patch
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = astah-uml pkgdesc = Lightweight and easy-to-use UML2.x modeler (With trial) pkgver = 9.0.0.1778f1.0 - pkgrel = 1 + pkgrel = 2 url = https://astah.net/products/astah-uml arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ pkgname=astah-uml pkgver=9.0.0.1778f1.0 _pkgver=9.0.0.1778f1-0 -pkgrel=1 +pkgrel=2 url='https://astah.net/products/astah-uml' pkgdesc='Lightweight and easy-to-use UML2.x modeler (With trial)' arch=('i686' 'x86_64') @@ -39,4 +39,6 @@ package() { rm "${pkgdir}/opt/astah-uml"/mime-astah_uml.xml rm "${pkgdir}/opt/astah-uml"/astah_uml.desktop rm "${pkgdir}/opt/astah-uml"/astah_uml-doc.png + sed -i '/#!\/bin\/sh/a export PATH="\$JAVA_HOME\/bin:\$PATH"' "${pkgdir}/opt/astah-uml/astah-uml" + sed -i '/#!\/bin\/sh/a export JAVA_HOME=\/usr\/lib\/jvm\/java-8-openjdk\/jre' "${pkgdir}/opt/astah-uml/astah-uml" } |