summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed3e9202b4f847e480e7abd2b597838ad553386b (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
# Maintainer: Rowan Decker <rowan@rowandecker.com>
pkgname=vban-git
pkgver=5c5d1118dcb99fb53f9c69b46794877b25d80d28
pkgrel=1
pkgdesc="An open-source implementation of a VBAN audio protocol receiver"
arch=('any')
url="https://github.com/quiniouben/vban"
depends=('alsa-lib' 'libpulse' 'jack')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git://github.com/quiniouben/vban.git')
md5sums=('SKIP')

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

build() {
	cd "$srcdir/${pkgname%-git}"
	./autogen.sh
	./configure --prefix=/usr
	make
}

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