summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67f9f1fb0f60921baa693c3164c88fad2fc86d3b (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=r4.aa71176
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=('libsndfile' 'gtk2')
makedepends=('git' 'lv2' 'libxext' 'freetype2')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}" "gx-lv2-git")
source=("${pkgname%-*}"::'git://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
}