summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4a72e53563b7482d41884603bb872ab2a64d755 (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
# Maintainer: Peter Semiletov peter.semiletov at gmail dot com

pkgname=drumlabooh-git
pkgver=6.0.0.r1.g226e904
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
}