summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c8e25aad4b480f2c32ffd984b1394f7ea1c0b17 (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
# Maintainer: Eric Ozwigh <ozwigh at gmail dot com>

pkgname=tuxguitar-bin
_name=tuxguitar
pkgver=1.6.4
pkgrel=1
pkgdesc="TuxGuitar is an Open Source multitrack tablature editor and player written in Java."
arch=('x86_64')
url="https://github.com/helge17/tuxguitar"
license=('LGPL')
depends=('java-runtime' 'alsa-lib')
optdepends=('jack' 'fluidsynth' 'soundfont-unison')
options=('!strip')
source=("https://github.com/helge17/tuxguitar/releases/download/$pkgver/$_name-$pkgver-linux-swt-amd64.tar.gz"
        "$pkgname.sh")
sha256sums=('143d7eee357af44f407d37338c3e833860fea4f96c720e28f00f400c150cf41e'
            '3161e7eae2d4bc03a7108f01b8773b6101762c34876cfc948dfb441bb3836b48')

package() {
    install -d -m755 "$pkgdir/opt/$_name"
    install -D -m755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
    cd "$srcdir/$_name-$pkgver-linux-swt-amd64"
    cp -r * "$pkgdir/opt/$_name"
}