Date: Friday, March 1, 2013 @ 23:17:09
  Author: speps
Revision: 85471

addpkg: vmpk first import 0.5.1-1

Added:
  vmpk/
  vmpk/repos/
  vmpk/trunk/
  vmpk/trunk/PKGBUILD
  vmpk/trunk/vmpk.install

--------------+
 PKGBUILD     |   28 ++++++++++++++++++++++++++++
 vmpk.install |   12 ++++++++++++
 2 files changed, 40 insertions(+)

Added: vmpk/trunk/PKGBUILD
===================================================================
--- vmpk/trunk/PKGBUILD                         (rev 0)
+++ vmpk/trunk/PKGBUILD 2013-03-01 22:17:09 UTC (rev 85471)
@@ -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
+}


Property changes on: vmpk/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: vmpk/trunk/vmpk.install
===================================================================
--- vmpk/trunk/vmpk.install                             (rev 0)
+++ vmpk/trunk/vmpk.install     2013-03-01 22:17:09 UTC (rev 85471)
@@ -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 
+}

Reply via email to