summaryrefslogtreecommitdiffstats
path: root/kde/kdeutils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kdeutils/Pkgfile')
-rwxr-xr-xkde/kdeutils/Pkgfile19
1 files changed, 12 insertions, 7 deletions
diff --git a/kde/kdeutils/Pkgfile b/kde/kdeutils/Pkgfile
index 3ecc48c1f..18d3c70f0 100755
--- a/kde/kdeutils/Pkgfile
+++ b/kde/kdeutils/Pkgfile
@@ -2,22 +2,27 @@
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: kdebase-runtime, kdegraphics, kdelibs, kdebase, kdebindings, libzip, kdepimlibs, pyqt, pycups, system-config-printer
-# Run on: kdebase-runtime,kdegraphics,kdelibs,kdebase,kdebindings,libzip,kdepimlibs,pyqt,pycups,system-config-printer
+# Depends on: kdebase-runtime, kdegraphics, kdelibs, kdebase, libzip, kdepimlibs, pyqt, pycups, system-config-printer
+
+#kdebindings
name=kdeutils
-version=4.5.4
-release=1
+version=4.6.0
+release=2
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)
build() {
- cd $name-$version
+ cd $name-*
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
- -DINSTALL_PRINTER_APPLET=TRUE \
- -DBUILD_doc=OFF
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DINSTALL_PRINTER_APPLET=TRUE \
+ -DBUILD_doc=OFF
make
make DESTDIR=$PKG install
+
+ find $PKG -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
}