[arch-commits] Commit in (5 files)

Antonio Rojas arojas at archlinux.org
Sun Mar 27 19:56:24 UTC 2016


    Date: Sunday, March 27, 2016 @ 21:56:23
  Author: arojas
Revision: 263180

community2extra: Moving drumstick from community to extra

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	2016-03-27 19:56:23 UTC (rev 263180)
@@ -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.2
+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=('f8e6d9de7943853146c39e52242cb705')
+
+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
+}


Property changes on: drumstick/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: drumstick/trunk/drumstick.install
===================================================================
--- drumstick/trunk/drumstick.install	                        (rev 0)
+++ drumstick/trunk/drumstick.install	2016-03-27 19:56:23 UTC (rev 263180)
@@ -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