summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77f625705007b075b555de9e686c531b2f440f20 (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
34
35
36
37
38
# Maintainer: Peter Semiletov peter.semiletov at gmail dot com

pkgname=drumlabooh-git
pkgver=2.4.0.r1.gb83faa4
pkgrel=1
pkgdesc='LV2/VSTi drum machine that supports Hydrogen, Drumlabooh and SFZ drumkits'
arch=('x86_64')
license=('GPL')
url='https://github.com/psemiletov/drumlabooh'
groups=('lv2-plugins' 'pro-audio')
makedepends=('git' 'cmake')
depends=('glibc' 'gcc-libs' 'alsa-lib' 'freetype2' 'libx11' 'libxcomposite' 'libxcursor' 'libxext' 'libxinerama' 'libxrandr' 'libxrender')
provides=("drumlabooh")
conflicts=("drumlabooh")

source=("git+https://github.com/psemiletov/drumlabooh.git")
md5sums=('SKIP')



pkgver() {
  cd "${srcdir}/drumlabooh"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "${srcdir}/drumlabooh"
	mkdir -p build_dir
	cd build_dir
	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
	make
}

package() {
	cd "${srcdir}/drumlabooh"
	cd build_dir
	make DESTDIR="${pkgdir}/" install
}