summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Dübel2018-07-14 18:15:32 +0200
committerJakob Dübel2018-07-14 18:15:32 +0200
commitbb7f5a589bc5fa74ced91a9cc4b211a9cd4be71b (patch)
treed24f56893e05ac91da7409d739d548f2dc5fffe3
downloadaur-bb7f5a589bc5fa74ced91a9cc4b211a9cd4be71b.tar.gz
Initial commit and my first shared package.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD47
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..42734bc80e0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = jack-midi-clock-git
+ pkgdesc = A utility to send MIDI Beat Clock pulses that follow the JACK Transport
+ pkgver = v0.1.0.r73.554baec
+ pkgrel = 1
+ url = https://github.com/x42/jack_midi_clock
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = pkg-config
+ depends = jack
+ source = jack-midi-clock::git+https://github.com/x42/jack_midi_clock.git
+ md5sums = SKIP
+
+pkgname = jack-midi-clock-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9e0ea6d477d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Jakob Dübel <jkbd@posteo.de>
+_pkgname=jack-midi-clock
+pkgname=${_pkgname}-git
+pkgver=v0.1.0.r73.554baec
+pkgrel=1
+pkgdesc="A utility to send MIDI Beat Clock pulses that follow the JACK Transport"
+arch=('x86_64')
+url="https://github.com/x42/jack_midi_clock"
+license=('GPL2')
+groups=()
+depends=('jack')
+makedepends=('git' 'pkg-config')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+source=("${_pkgname}::git+https://github.com/x42/jack_midi_clock.git")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${_pkgname}"
+
+# Git, tags available
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+
+prepare() {
+ cd "$srcdir/${_pkgname}"
+ #patch -p1 -i "$srcdir/${pkgname}.patch"
+}
+
+build() {
+ cd "$srcdir/${_pkgname}"
+ make
+}
+
+#check() {}
+
+package() {
+ cd "$srcdir/${_pkgname}"
+ install -d ${pkgdir}/usr/lib/jack
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+}