summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e307b49e72067cf929ef6cdc794a2434b2cceaf (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
# Maintainer: olivierlm < mail at olivierlemoal dot fr >

pkgname=tonelib-zoom-bin
pkgver=4.3.1
pkgrel=1
pkgdesc="ToneLib Zoom – change and save all the settings in your Zoom(r) guitar pedal"
arch=('x86_64')
license=('custom')
url="https://tonelib.net/zoom-quick-start/"
depends=('webkit2gtk')
optdepends=('jack: JACK output')
source=("https://www.tonelib.net/download/ToneLib-Zoom-amd64.deb")
sha256sums=('e2adaf334feaee8fc5ada7273b6c719ebdbba29a9f550a0dedfb2a4c3f53aff7')

package () {
    tar xf data.tar.xz -C "${pkgdir}"
    install -D -m644 "${pkgdir}/usr/share/doc/tonelib-zoom/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
}