summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Springer2020-05-12 18:10:33 +0200
committerStephan Springer2020-05-12 18:10:33 +0200
commit714dba46bab691653464c4cbd56280e16818e337 (patch)
treeaea9bd75800fce283bd51f09d1074bc1154cdcf7
parent6aee84fd653a773cb47d7f5ea2e8f5949e86cd30 (diff)
downloadaur-tuxguitar.tar.gz
use the latest Java version
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 14 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c8f180bda7..30904b889b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tuxguitar
pkgdesc = multitrack guitar tablature editor and player
pkgver = 1.5.3
- pkgrel = 1
+ pkgrel = 2
url = https://sourceforge.net/projects/tuxguitar/
arch = any
license = LGPL
@@ -10,9 +10,9 @@ pkgbase = tuxguitar
makedepends = ant
makedepends = jack
makedepends = fluidsynth
- makedepends = jdk11-openjdk
+ makedepends = jdk-openjdk
makedepends = maven
- depends = jre11-openjdk
+ depends = jre-openjdk
depends = alsa-lib
depends = libxtst
optdepends = fluidsynth
diff --git a/PKGBUILD b/PKGBUILD
index d2fb8aa25ee..65c71101702 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,13 @@
pkgbase=tuxguitar
pkgname=(tuxguitar tuxguitar-common tuxguitar-gtk2)
pkgver=1.5.3
-pkgrel=1
+pkgrel=2
pkgdesc="multitrack guitar tablature editor and player"
arch=('any')
url="https://sourceforge.net/projects/tuxguitar/"
license=('LGPL')
-depends=('jre11-openjdk' 'alsa-lib' 'libxtst')
-makedepends=('unzip' 'zip' 'ant' 'jack' 'fluidsynth' 'jdk11-openjdk' 'maven')
+depends=('jre-openjdk' 'alsa-lib' 'libxtst')
+makedepends=('unzip' 'zip' 'ant' 'jack' 'fluidsynth' 'jdk-openjdk' 'maven')
optdepends=('fluidsynth')
source=(https://downloads.sourceforge.net/tuxguitar/tuxguitar-$pkgver-src.tar.gz
tuxguitar
@@ -27,6 +27,14 @@ case $CARCH in
*) _arch=$CARCH;;
esac
+prepare() {
+ cd tuxguitar-$pkgver-src
+ for file in pom.xml TuxGuitar-lib/pom.xml; do
+ sed -i -e 's|<source>1\.6</source>|<source>1\.7</source>|g' \
+ -e 's|<target>1\.6</target>|<target>1\.7</target>|g' "$file"
+ done
+}
+
build() {
cd tuxguitar-$pkgver-src
export MAVEN_OPTS="$MAVEN_OPTS -Duser.home=$srcdir"