summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSmasher8162017-03-23 16:23:25 -0700
committerRowan Decker2017-03-23 16:25:53 -0700
commit1350377edd99c6ff2cb671404b50a143eebc4100 (patch)
treefea301a793daffb9bd2996f9af3f55f4b3e90155
downloadaur-1350377edd99c6ff2cb671404b50a143eebc4100.tar.gz
Create package
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD30
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..550c9efaaed
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = vban-git
+ pkgdesc = An open-source implementation of a VBAN audio protocol receiver
+ pkgver = 5c5d1118dcb99fb53f9c69b46794877b25d80d28
+ pkgrel = 1
+ url = https://github.com/quiniouben/vban
+ arch = any
+ makedepends = git
+ depends = alsa-lib
+ depends = libpulse
+ depends = jack
+ provides = vban
+ conflicts = vban
+ source = git://github.com/quiniouben/vban.git
+ md5sums = SKIP
+
+pkgname = vban-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ed3e9202b4f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}