tuxguitar: clean up.

Use virtual java package for depends and remove line setting PATH.
This commit is contained in:
Érico Rolim 2020-09-02 18:19:38 -03:00 committed by Érico Nogueira Rolim
parent 90e954b391
commit 5326f1f330
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@ revision=1
wrksrc="${pkgname}-${version}-src"
hostmakedepends="apache-maven openjdk8"
makedepends="alsa-lib-devel fluidsynth-devel jack-devel"
depends="openjdk8-jre icedtea-sound gtk+3 hicolor-icon-theme desktop-file-utils"
depends="virtual?java-environment icedtea-sound gtk+3 hicolor-icon-theme desktop-file-utils"
short_desc="Multitrack guitar tablature editor and player"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-only"
@ -30,7 +30,6 @@ post_extract() {
do_build() {
export MAVEN_OPTS="$MAVEN_OPTS -Duser.home=$wrksrc"
export JAVA_HOME="/usr/lib/jvm/java-1.8-openjdk"
PATH=$PATH:/usr/share/apache-maven/bin
for _i in . TuxGuitar-{lib,gm-utils} \
build-scripts/{tuxguitar,native-modules/tuxguitar-{alsa,oss,jack,fluidsynth}}-linux-$_arch; do
(