tuxguitar-src

LOW
maintainer broken.pipe 0 votes scanned 2026-09-27 17:19:13.301701
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Markus
2
3pkgname=tuxguitar-src
4_pkgname=tuxguitar
5pkgver=2.1.0
6pkgrel=1
7pkgdesc='Multitrack guitar tablature editor and player'
8arch=('x86_64' 'aarch64')
9url='https://github.com/helge17/tuxguitar'
10license=('LGPL-2.1-or-later')
11depends=('alsa-lib' 'gtk3' 'java-runtime>=17' 'webkit2gtk-4.1')
12makedepends=('fluidsynth' 'jack' 'java-environment>=17' 'lilv'
13 'lv2' 'maven' 'qt5-base' 'suil')
14optdepends=('fluidsynth: FluidSynth synthesizer support'
15 'jack: JACK MIDI support'
16 'lilv: LV2 synthesizer support'
17 'lv2: LV2 synthesizer support'
18 'qt5-base: graphical interfaces for LV2 plugins'
19 'suil: graphical interfaces for LV2 plugins'
20 'lilypond: compile exported LilyPond files')
21provides=('tuxguitar')
22conflicts=('tuxguitar')
23options=('!debug')
24source=("${_pkgname}-${pkgver}.zip::https://github.com/helge17/tuxguitar/archive/refs/tags/${pkgver}.zip")
25source_x86_64=('swt-4.37-gtk-linux-x86_64.zip::https://download.eclipse.org/eclipse/downloads/drops4/R-4.37-202509050730/swt-4.37-gtk-linux-x86_64.zip')
26source_aarch64=('swt-4.37-gtk-linux-aarch64.zip::https://download.eclipse.org/eclipse/downloads/drops4/R-4.37-202509050730/swt-4.37-gtk-linux-aarch64.zip')
27sha256sums=('370244eae7976b9505577ab869e39bed765d68a4feede29ac45f32e7e41738af')
28sha256sums_x86_64=('13ff4f7061078c03e17a2ace3c47931bca34cd5ad17494ee8cfc46780bb057db')
29sha256sums_aarch64=('e41352cee8753c3afc72c5198abf1397779529557752b276f8bd05c1f0054ae4')
30
31_mvn() {
32 mvn --batch-mode --no-transfer-progress -Duser.home="$srcdir" "$@"
33}
34
35prepare() {
36 # SWT's Linux artifact is not published to Maven Central.
37 _mvn install:install-file \
38 -Dfile="$srcdir/swt.jar" \
39 -DgroupId=org.eclipse.swt \
40 -DartifactId=org.eclipse.swt.gtk.linux \
41 -Dpackaging=jar \
42 -Dversion=4.37
43
44 # Upstream keeps development builds at 9.99-SNAPSHOT and replaces the
45 # placeholder while producing releases.
46 find "$srcdir/${_pkgname}-${pkgver}" \
47 \( -name '*.xml' -o -name '*.gradle' -o -name '*.properties' \
48 -o -name '*.html' -o -name control -o -name Info.plist \
49 -o -name CHANGES \) \
50 -type f -not -path '*/website/*' \
51 -exec sed -i "s/9.99-SNAPSHOT/${pkgver}/g" {} +
52}
53
54build() {
55 cd "${_pkgname}-${pkgver}/desktop/build-scripts/tuxguitar-linux-swt"
56
57 _mvn -e clean verify -P native-modules
58}
59
60package() {
61 local dist="$srcdir/${_pkgname}-${pkgver}/desktop/build-scripts/${_pkgname}-linux-swt/target/${_pkgname}-${pkgver}-linux-swt"
62
63 install -d "$pkgdir/usr/lib/${_pkgname}"
64 cp -a "$dist/." "$pkgdir/usr/lib/${_pkgname}/"
65
66 # Install system integration files in their standard locations only.
67 rm -r "$pkgdir/usr/lib/${_pkgname}/share/"{applications,man,metainfo,mime,pixmaps}
68
69 install -d "$pkgdir/usr/bin"
70 ln -s "/usr/lib/${_pkgname}/tuxguitar.sh" "$pkgdir/usr/bin/tuxguitar"
71
72 install -Dm644 "$dist/share/applications/TuxGuitar.desktop" \
73 "$pkgdir/usr/share/applications/TuxGuitar.desktop"
74 install -Dm644 "$dist/share/man/man1/tuxguitar.1" \
75 "$pkgdir/usr/share/man/man1/tuxguitar.1"
76 install -Dm644 "$dist/share/metainfo/app.tuxguitar.tuxguitar.metainfo.xml" \
77 "$pkgdir/usr/share/metainfo/app.tuxguitar.tuxguitar.metainfo.xml"
78 install -Dm644 "$dist/share/mime/packages/tuxguitar.xml" \
79 "$pkgdir/usr/share/mime/packages/tuxguitar.xml"
80 install -Dm644 "$dist/share/pixmaps/tuxguitar.png" \
81 "$pkgdir/usr/share/pixmaps/tuxguitar.png"
82 install -Dm644 "$srcdir/${_pkgname}-${pkgver}/docs/LICENSE" \
83 "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
84}
85

Scan history

Scanned at (UTC)SeverityRules
2026-09-27 17:19:13 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion