[arch-commits] Commit in (5 files)

Felix Yan fyan at archlinux.org
Tue Feb 3 05:56:50 UTC 2015


    Date: Tuesday, February 3, 2015 @ 06:56:50
  Author: fyan
Revision: 230382

add kmix (FS#43626)

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

--------------+
 PKGBUILD     |   38 ++++++++++++++++++++++++++++++++++++++
 kmix.install |   12 ++++++++++++
 2 files changed, 50 insertions(+)

Added: kmix/trunk/PKGBUILD
===================================================================
--- kmix/trunk/PKGBUILD	                        (rev 0)
+++ kmix/trunk/PKGBUILD	2015-02-03 05:56:50 UTC (rev 230382)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Antonio Rojas
+
+pkgname=kmix
+pkgver=14.12.1
+pkgrel=1
+pkgdesc='KDE volume control program'
+arch=('i686' 'x86_64')
+url='http://kde.org/applications/multimedia/kmix/'
+license=('GPL')
+depends=('kdelibs4support' 'kcmutils' 'libcanberra' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+conflicts=('kdemultimedia-kmix')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+install=$pkgname.install
+sha256sums=('ca8d1f0ed4765c8b6e676c83aef9545387f64a52600c0123270bc61f6a6061fe')
+
+prepare() {
+  mkdir -p build
+}
+
+build() { 
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKMIX_KF5_BUILD=ON \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DSYSCONF_INSTALL_DIR=/etc
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Added: kmix/trunk/kmix.install
===================================================================
--- kmix/trunk/kmix.install	                        (rev 0)
+++ kmix/trunk/kmix.install	2015-02-03 05:56:50 UTC (rev 230382)
@@ -0,0 +1,12 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}



More information about the arch-commits mailing list