summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f966f3fdc34dc705fc4ef8dd583a22219fea464 (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
# Maintainer: Laurens Hazewinkel <laurens dot hazewinkel at gmail dot com>
pkgname=mod-host-git
pkgver=0.10.6.r270.g1726ad0
pkgrel=1
pkgdesc="LV2 host for Jack controllable via socket or command line"
arch=('x86_64')
url="https://github.com/moddevices/mod-host"
license=('GPL3')
depends=('lilv>=0.14.2' 'fftw')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/moddevices/${pkgname%-git}")
md5sums=('SKIP')

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

build() {
	cd "${pkgname%-git}"
	make
}

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