summaryrefslogtreecommitdiff
path: root/community/vmpk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/vmpk
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/vmpk')
-rw-r--r--community/vmpk/PKGBUILD28
-rw-r--r--community/vmpk/vmpk.install12
2 files changed, 40 insertions, 0 deletions
diff --git a/community/vmpk/PKGBUILD b/community/vmpk/PKGBUILD
new file mode 100644
index 000000000..5ce3556ad
--- /dev/null
+++ b/community/vmpk/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer : speps <speps at aur dot archlinux dot org>
+
+pkgname=vmpk
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="Virtual MIDI Piano Keyboard"
+arch=('i686' 'x86_64')
+url="http://vmpk.sourceforge.net/"
+license=('GPL3')
+depends=('qt4' 'jack')
+makedepends=('cmake')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
+md5sums=('07e376936c38c7c244374ff9ddca6a72')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ [ -d bld ] || mkdir bld && cd bld
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=release
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/bld"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community/vmpk/vmpk.install b/community/vmpk/vmpk.install
new file mode 100644
index 000000000..293ff852a
--- /dev/null
+++ b/community/vmpk/vmpk.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
+}