summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarlo Capocasa2017-07-07 16:58:36 +0200
committerCarlo Capocasa2017-07-07 16:58:36 +0200
commitacaa270ab4faaf472d278085ac4529bdbecaed63 (patch)
tree3008d4494fe6475e2df1decf2911be0d36659370 /PKGBUILD
downloadaur-acaa270ab4faaf472d278085ac4529bdbecaed63.tar.gz
initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD58
1 files changed, 58 insertions, 0 deletions
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)"
+}
+