tuxguitar: clean up.
Use virtual java package for depends and remove line setting PATH.
This commit is contained in:
parent
90e954b391
commit
5326f1f330
|
@ -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
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue