From 5326f1f3302665ddd0df0a518e93a3634237c77e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Wed, 2 Sep 2020 18:19:38 -0300 Subject: [PATCH] tuxguitar: clean up. Use virtual java package for depends and remove line setting PATH. --- srcpkgs/tuxguitar/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/tuxguitar/template b/srcpkgs/tuxguitar/template index 80f6d18b6c2..19a3420936b 100644 --- a/srcpkgs/tuxguitar/template +++ b/srcpkgs/tuxguitar/template @@ -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 " 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 (