summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsekret2018-02-07 15:51:03 +0100
committersekret2018-02-07 15:51:03 +0100
commit3dfaded94087fccbad656d545532f8b08372b925 (patch)
treebaf16808e31a2170dc060e9363c7576e1a4d1908
downloadaur-hairless-midiserial-git.tar.gz
initial release
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD38
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d8f41cf939f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Wed Feb 7 14:51:02 UTC 2018
+pkgbase = hairless-midiserial-git
+ pkgdesc = Lightweight cross-platform GUI-based MIDI/Serial bridge
+ pkgver = 0.r80.a558766
+ pkgrel = 1
+ url = http://projectgus.github.io/hairless-midiserial
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ depends = qt4
+ provides = hairless-midiserial
+ conflicts = hairless-midiserial
+ source = hairless-midiserial::git+https://github.com/projectgus/hairless-midiserial.git
+ md5sums = SKIP
+
+pkgname = hairless-midiserial-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2c454f061ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
+_pkgname=hairless-midiserial
+pkgname=$_pkgname-git
+pkgver=0.r80.a558766
+pkgrel=1
+pkgdesc="Lightweight cross-platform GUI-based MIDI/Serial bridge"
+arch=('i686' 'x86_64')
+url="http://projectgus.github.io/hairless-midiserial"
+license=('LGPL')
+depends=('qt4')
+makedepends=('git')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("$_pkgname::git+https://github.com/projectgus/$_pkgname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$_pkgname"
+ git submodule update --init
+ qmake-qt4
+}
+
+build() {
+ cd "$_pkgname"
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+}
+
+# vim:set ts=2 sw=2 et: