diff options
author | Visne | 2024-04-15 23:40:20 +0200 |
---|---|---|
committer | Visne | 2024-04-15 23:40:20 +0200 |
commit | c0bf8c0e91fe3b39435e06ec48b702835a6d31f6 (patch) | |
tree | c669b4a95b8395612cf98e146c28da752204a773 | |
parent | e6ff96b367583e225e4a172134c817b010fa980f (diff) | |
download | aur-tuxguitar.tar.gz |
Minor cleanup
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 3 insertions, 6 deletions
@@ -28,7 +28,7 @@ pkgbase = tuxguitar optdepends = lilypond: Compile exported LilyPond files replaces = tuxguitar-common replaces = tuxguitar-gtk2 - source = tuxguitar-1.6.2::https://github.com/helge17/tuxguitar/archive/refs/tags/1.6.2.zip + source = tuxguitar-1.6.2.zip::https://github.com/helge17/tuxguitar/archive/refs/tags/1.6.2.zip sha256sums = d0d8e8f64240379e8fc8f83dcdfd220f9c105dcc2879b56f6f1c3ad4ce256a11 pkgname = tuxguitar @@ -22,18 +22,15 @@ optdepends=('fluidsynth: FluidSynth plugin support' 'jack: Jack plugin support' 'lilypond: Compile exported LilyPond files') replaces=('tuxguitar-common' 'tuxguitar-gtk2') -source=("tuxguitar-$pkgver::https://github.com/helge17/tuxguitar/archive/refs/tags/$pkgver.zip") +source=("tuxguitar-$pkgver.zip::https://github.com/helge17/tuxguitar/archive/refs/tags/$pkgver.zip") sha256sums=('d0d8e8f64240379e8fc8f83dcdfd220f9c105dcc2879b56f6f1c3ad4ce256a11') prepare() { - cd tuxguitar-$pkgver - export MAVEN_OPTS="$MAVEN_OPTS -Duser.home=$srcdir" # Install SWT manually (see https://github.com/helge17/tuxguitar/blob/1.6.2/INSTALL.md#download-and-install-swt-for-linux) - mkdir swt && cd swt wget https://archive.eclipse.org/eclipse/downloads/drops4/R-4.26-202211231800/swt-4.26-gtk-linux-x86_64.zip -O swt.zip - unzip -o swt.zip + unzip -o swt.zip swt.jar # Lie about version to fix wayland bug https://github.com/helge17/tuxguitar/issues/323 mvn install:install-file -Dfile=swt.jar -DgroupId=org.eclipse.swt -DartifactId=org.eclipse.swt.gtk.linux.x86_64 -Dpackaging=jar -Dversion=4.13 } |