diff options
author | Stephan Springer | 2023-10-09 19:27:52 +0200 |
---|---|---|
committer | Stephan Springer | 2023-10-09 19:27:52 +0200 |
commit | c14caac1f90a311ebb7f346c4afab956b2931f4e (patch) | |
tree | 08b33b819231efdecdbddb20db5550481d9c5acc | |
parent | 699906e45fc1f3faa53cc718914e25cf7a207b98 (diff) | |
download | aur-c14caac1f90a311ebb7f346c4afab956b2931f4e.tar.gz |
fix LD_LIBRARY_PATH and Java dependency
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = tuxguitar pkgdesc = multitrack guitar tablature editor and player pkgver = 1.5.6 - pkgrel = 4 + pkgrel = 5 url = https://sourceforge.net/projects/tuxguitar/ arch = any license = LGPL @@ -12,7 +12,7 @@ pkgbase = tuxguitar makedepends = fluidsynth makedepends = jdk-openjdk makedepends = maven - depends = jre-openjdk + depends = java-runtime depends = alsa-lib optdepends = fluidsynth source = https://downloads.sourceforge.net/tuxguitar/tuxguitar-1.5.6-src.tar.gz @@ -7,12 +7,12 @@ pkgbase=tuxguitar pkgname=(tuxguitar tuxguitar-common tuxguitar-gtk2) pkgver=1.5.6 -pkgrel=4 +pkgrel=5 pkgdesc="multitrack guitar tablature editor and player" arch=('any') url="https://sourceforge.net/projects/tuxguitar/" license=('LGPL') -depends=('jre-openjdk' 'alsa-lib') +depends=('java-runtime' 'alsa-lib') makedepends=('unzip' 'zip' 'ant' 'jack' 'fluidsynth' 'jdk-openjdk' 'maven') optdepends=('fluidsynth') source=(https://downloads.sourceforge.net/tuxguitar/tuxguitar-$pkgver-src.tar.gz @@ -47,6 +47,9 @@ build() { cd $_i mvn clean install ); done + # adapt LD_LIBRARY_PATH to Arch location + sed -i 's,^LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/jni$,LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/jvm/default-runtime/lib/server,' \ + "build-scripts/tuxguitar-linux-$_arch/target/tuxguitar-$pkgver-linux-$_arch/tuxguitar.sh" } package_tuxguitar-common () { |