summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe2d1f0c7d93b75ab3a41383ca78fdf6bcad464b (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
31
32
33
# Maintainer: BenoƮt Rouits <brouits at free dor fr>
pkgname=qliquidsfz-git
_pkgname=qliquidsfz
pkgver=0.1.3r0.g7c37fc9
pkgrel=1
pkgdesc="Simple LiquidSFZ synthesizer GUI."
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/be1/qliquidsfz"
license=('GPL')
depends=('jack' 'liquidsfz' 'qt5-base' 'qt5-tools')
#conflicts=('qliquidsfz')
source=("$pkgname::git+https://github.com/be1/$_pkgname")
sha512sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}

build() {
  cd "$srcdir/$pkgname"
  qmake PREFIX=/usr -config release
  make
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm755 qliquidsfz $pkgdir/usr/bin/qliquidsfz
  install -Dm644 qliquidsfz.png $pkgdir/usr/share/pixmaps/qliquidsfz.png
  install -Dm644 qliquidsfz.desktop $pkgdir/usr/share/applications/qliquidsfz.desktop
}

# vim:set ts=2 sw=2 et: