summaryrefslogtreecommitdiffstats
path: root/kde/kdeadmin/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kdeadmin/Pkgfile')
-rwxr-xr-xkde/kdeadmin/Pkgfile14
1 files changed, 5 insertions, 9 deletions
diff --git a/kde/kdeadmin/Pkgfile b/kde/kdeadmin/Pkgfile
index ebe82455e..a70a78728 100755
--- a/kde/kdeadmin/Pkgfile
+++ b/kde/kdeadmin/Pkgfile
@@ -2,19 +2,16 @@
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: cmake, automoc4, kdelibs, kdebase-runtime, kdepimlibs, pycups, pyqt, system-config-printer, kdebindings, docbook-xsl
-# Run on: kdelibs,kdebase-runtime,kdepimlibs,pycups,pyqt,system-config-printer,kdebindings
+# Depends on: cmake, automoc4, kdelibs, kdebase-runtime, kdepimlibs, pycups, pyqt, system-config-printer, docbook-xsl
+# Run on: kdelibs,kdebase-runtime,kdepimlibs,pycups,pyqt,system-config-printer
name=kdeadmin
version=4.6.1
release=1
-source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2
- kdeadmin-4.6.1-syslog-path.patch)
+source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)
build() {
cd $name-*
- patch -p1 -i ../kdeadmin-4.6.1-syslog-path.patch
-
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
@@ -23,11 +20,10 @@ build() {
-DBUILD_kpackage=OFF \
-DBUILD_knetworkconf=OFF \
-DBUILD_lilo-config=OFF \
- -DBUILD_strigi-analyzer=OFF
+ -DBUILD_strigi-analyzer=OFF \
+ -DINSTALL_SYSTEM_CONFIG_PRINTER=TRUE
make
make DESTDIR=$PKG install
-
- find $PKG -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
}