summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Graef2016-02-16 21:24:12 +0100
committerAlbert Graef2016-02-16 21:24:12 +0100
commitcae19c7fa64f241bf623eda4cb00a98d8d6d80bc (patch)
treee8ad67beacd88de24600e365bb9bceb1a27aff49
downloadaur-cae19c7fa64f241bf623eda4cb00a98d8d6d80bc.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
-rw-r--r--qmidinet-git.install12
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a7602d08bab
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Tue Feb 16 20:22:34 UTC 2016
+pkgbase = qmidinet-git
+ pkgdesc = A MIDI Network Gateway via UDP/IP Multicast (git version)
+ pkgver = 113.dfb4f77
+ pkgrel = 1
+ url = http://qmidinet.sourceforge.net/
+ install = qmidinet-git.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = qt5-base
+ depends = qt5-tools
+ depends = qtchooser
+ depends = alsa-lib
+ depends = jack
+ source = qmidinet-git::git+git://git.code.sf.net/p/qmidinet/code
+ md5sums = SKIP
+
+pkgname = qmidinet-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eaa88b7e988
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Albert Graef <aggraef@gmail.com>
+# Contributor: speps <speps at aur dot archlinux dor org>
+
+pkgname=qmidinet-git
+pkgver=113.dfb4f77
+pkgrel=1
+pkgdesc="A MIDI Network Gateway via UDP/IP Multicast (git version)"
+arch=(i686 x86_64)
+url="http://qmidinet.sourceforge.net/"
+license=('GPL')
+depends=('qt5-base' 'qt5-tools' 'qtchooser' 'alsa-lib' 'jack')
+install="$pkgname.install"
+source=("$pkgname::git+git://git.code.sf.net/p/qmidinet/code")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $srcdir/$pkgname
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/qmidinet-git.install b/qmidinet-git.install
new file mode 100644
index 00000000000..293ff852a5c
--- /dev/null
+++ b/qmidinet-git.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}