diff --git a/desktop/kde/applications/kpmcore/actions.py b/desktop/kde/applications/kpmcore/actions.py
index 59e83cc850..c22d6f53fd 100755
--- a/desktop/kde/applications/kpmcore/actions.py
+++ b/desktop/kde/applications/kpmcore/actions.py
@@ -4,13 +4,23 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
-from pisi.actionsapi import kde5
+from pisi.actionsapi import cmaketools
+from pisi.actionsapi import pisitools
+from pisi.actionsapi import shelltools
+from pisi.actionsapi import get
+
def setup():
- kde5.configure()
+ shelltools.makedirs("build")
+ shelltools.cd("build")
+ cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF", sourceDir="..")
def build():
- kde5.make()
+ shelltools.cd("build")
+ cmaketools.make()
def install():
- kde5.install()
\ No newline at end of file
+ shelltools.cd("build")
+ cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
diff --git a/desktop/kde/applications/kpmcore/pspec.xml b/desktop/kde/applications/kpmcore/pspec.xml
index 7574bc7c15..fc0a30571d 100755
--- a/desktop/kde/applications/kpmcore/pspec.xml
+++ b/desktop/kde/applications/kpmcore/pspec.xml
@@ -14,7 +14,13 @@
Library for managing partitions.
mirrors://kde/stable/kpmcore/4.1.0/src/kpmcore-4.1.0.tar.xz
+ udftools
fatresize
+ exfat-utils
+ dosfstools
+ reiserfsprogs
+ smartmontools
+ xfsprogs-devel
qt5-base-devel
libatasmart-devel
extra-cmake-modules
@@ -44,6 +50,13 @@
kauth
qca2-qt5
fatresize
+ udftools
+ fatresize
+ exfat-utils
+ dosfstools
+ reiserfsprogs
+ smartmontools
+ xfsprogs
kwidgetsaddons
libgcc
parted