summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Capocasa2017-07-07 16:58:36 +0200
committerCarlo Capocasa2017-07-07 16:58:36 +0200
commitacaa270ab4faaf472d278085ac4529bdbecaed63 (patch)
tree3008d4494fe6475e2df1decf2911be0d36659370
downloadaur-acaa270ab4faaf472d278085ac4529bdbecaed63.tar.gz
initial
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD58
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b25a8a9965b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = jamrouter-git
+ pkgdesc = A low-latency low-jitter ALSA MIDI to Jack MIDI bridge, hardware MIDI compatibility layer and event processor
+ pkgver = r46.23527ae
+ pkgrel = 1
+ url = https://github.com/williamweston/jamrouter.git
+ arch = any
+ license = GPL
+ source = jamrouter-git::git+https://github.com/williamweston/jamrouter.git#branch=master
+ md5sums = SKIP
+
+pkgname = jamrouter-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..028754ff4b4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Carlo Capocasa <carlo@capocasa.net>
+pkgname=jamrouter-git
+pkgver=r46.23527ae
+pkgrel=1
+epoch=
+pkgdesc="A low-latency low-jitter ALSA MIDI to Jack MIDI bridge, hardware MIDI compatibility layer and event processor"
+arch=(any)
+url="https://github.com/williamweston/jamrouter.git"
+license=('GPL')
+groups=()
+depends=()
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=(
+"$pkgname::git+https://github.com/williamweston/jamrouter.git#branch=master"
+)
+noextract=()
+md5sums=(
+"SKIP"
+)
+validpgpkeys=()
+
+prepare() {
+ cd "$pkgname"
+ aclocal &> /dev/null
+ autoconf &> /dev/null
+ automake &> /dev/null
+ autoheader &> /dev/null
+ ./configure --enable-arch=native
+}
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+check() {
+ cd "$pkgname"
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+