summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e56be238013a5fb220302b4629efcd781ed68f8 (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
# Maintaner: Versua7 <Versua7@gmail.com>

pkgname='tonelib-bass-drive-bin'
pkgver=1.5.0
pkgrel=1
pkgdesc="ToneLib Bass Drive – Full power of the legendary drive pedal for the highest string gauges"
arch=('x86_64')
license=('custom')
url="https://tonelib.net/tl-bassdrive.html"
depends=('gtk3' 'glib2' 'desktop-file-utils' 'alsa-lib' 'harfbuzz' 'fribidi' 'pango' 'freetype2')
optdepends=('jack: JACK output')
source=("${pkgname}-${pkgver}.deb::https://tonelib.net/download/ToneLib-BassDrive-amd64.deb")
sha256sums=('1726d49b588f0b3a8ed55312bd10825036b6f963b8fb8510f29d006f74631cb7')

package () {
    tar xf data.tar.xz -C "${pkgdir}"
    install -D -m644 "${pkgdir}/usr/share/doc/tonelib-bassdrive/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

post_install() {
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
	update-desktop-database -q
}

post_remove() {
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
	update-desktop-database -q
}