summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 547f3da45e1d9a7cec4b289036809c7ec3fdfa90 (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>

pkgname=gxplugins-lv2-git
pkgver=r125.265415b
pkgrel=1
pkgdesc="A set of extra lv2 plugins from the guitarix project."
arch=('i686' 'x86_64')
url="https://github.com/brummer10/GxPlugins.lv2"
license=('GPL3')
groups=('lv2-plugins')
depends=('cairo')
makedepends=('git' 'lv2' 'libxext' 'freetype2' 'xorgproto')
provides=("${pkgname%-*}")
conflicts=("gxplugins.lv2" "gx-lv2-git")
source=("${pkgname%-*}::git+https://github.com/brummer10/GxPlugins.lv2")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-*}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"	
}

build() {
	cd "$srcdir/${pkgname%-*}"
	git submodule init
	git submodule update
	make
}

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