blob: 2b6cd6fa8d7e065402b6ff0721f3142839a8c5b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Olivier Le Moal <mail at olivierlemoal dot fr>
# Contributor: Jan Ypma <jan at ypmania dot nl>
pkgname=jjazzlab-bin
pkgver=4.1.1
pkgrel=3
pkgdesc="A complete and open application dedicated to backing tracks generation."
arch=('i686' 'x86_64' 'aarch64')
url="https://www.jjazzlab.org/"
license=('LGPL-2.1-or-later')
depends=('java-runtime=17' 'fluidsynth')
source=("https://github.com/jjazzboss/JJazzLab/releases/download/${pkgver}/JJazzLab-${pkgver}-linux-x64.tar.xz" "jjazzlab.desktop")
sha256sums=('7ba52340c5821a9312d02ad3f708efff1c3e8079b84021512731dd0a3d45b00b'
'0c11ad2c50439741a43629e551b9134e51b043c8c5250e1f47768dc9b443a034')
package() {
cd "${srcdir}/JJazzLab-${pkgver}"
# Let's use the system JDK instead of the bundled one
rm -r jdk
sed -i 's/^jdkhome="jdk"$/jdkhome="\/usr\/lib\/jvm\/java-17-openjdk\/"/' etc/jjazzlab.conf
install -d "${pkgdir}/opt/jjazzlab"
cp -rp * "${pkgdir}/opt/jjazzlab"
install -d "${pkgdir}/usr/bin"
ln -s /opt/jjazzlab/bin/jjazzlab ${pkgdir}/usr/bin/jjazzlab
install -d "${pkgdir}/usr/share/applications"
install ../jjazzlab.desktop "${pkgdir}/usr/share/applications"
}
|