summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc4236ffb10abc1109a686817ad6232b78fa5f6f (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
# Maintainer: Gimmeapill <gimmeapill at gmail dot com>
# Contributor: Joermungand <joermungand at gmail dot com>

pkgname=avldrums-lv2-git
pkgver=0.3.0.r1.gf670fcd
pkgrel=1
pkgdesc="Dedicated AVLDrumkits LV2 Plugin from x42"
arch=('i686' 'x86_64')
url="https://github.com/x42/avldrums.lv2"
license=('GPL2')
groups=('lv2-plugins')
depends=('pango' 'libglvnd')
makedepends=('git' 'lv2' 'glu')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git://github.com/x42/avldrums.lv2")
md5sums=('SKIP')

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

build() {
	cd "$srcdir/${pkgname%-*}"
    make submodules
    make
}

package() {
	cd "$srcdir/${pkgname%-*}"
	make DESTDIR="$pkgdir/" install PREFIX=/usr
}