[arch-commits] Commit in (5 files)

speps speps at archlinux.org
Thu Sep 11 10:19:59 UTC 2014


    Date: Thursday, September 11, 2014 @ 12:19:59
  Author: speps
Revision: 118811

addpkg: drumstick 1.0.0
VMPK 0.6.0 depends on drumstrick for MIDI I/O

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

-------------------+
 PKGBUILD          |   34 ++++++++++++++++++++++++++++++++++
 drumstick.install |   13 +++++++++++++
 2 files changed, 47 insertions(+)

Added: drumstick/trunk/PKGBUILD
===================================================================
--- drumstick/trunk/PKGBUILD	                        (rev 0)
+++ drumstick/trunk/PKGBUILD	2014-09-11 10:19:59 UTC (rev 118811)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
+
+pkgname=drumstick
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="MIDI libraries for Qt5/C++"
+arch=('i686' 'x86_64')
+url="http://drumstick.sourceforge.net/"
+license=('GPL')
+depends=('desktop-file-utils' 'fluidsynth' 'hicolor-icon-theme' 'shared-mime-info' 'qt5-svg')
+makedepends=('cmake' 'doxygen' 'docbook-xsl')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
+md5sums=('c984243a47aba26dc274c47447d01006')
+
+prepare() {
+  cd $pkgname-$pkgver
+  [ -d b ] || mkdir b
+}
+
+build() {
+  cd $pkgname-$pkgver/b
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+           -DCMAKE_BUILD_TYPE=Release \
+           -DLIB_SUFFIX=
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/b
+  make DESTDIR="$pkgdir/" install
+}

Added: drumstick/trunk/drumstick.install
===================================================================
--- drumstick/trunk/drumstick.install	                        (rev 0)
+++ drumstick/trunk/drumstick.install	2014-09-11 10:19:59 UTC (rev 118811)
@@ -0,0 +1,13 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-mime-database usr/share/mime
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
\ No newline at end of file




More information about the arch-commits mailing list