blob: 25508cb9413172c594cf9a2eeaa056cc5cd2f283 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Description: Librairie python pour KDE4
# URL: http://www.kde.org
# Maintainer: KDE Project : https://projects.kde.org/projects/kde
# Packager: lesibel at free dot fr
# Depends on: cmake,automoc4,pyqt,qscintilla,boost,kdepim-runtime,polkit-qt
# Run on: pyqt,qscintilla,boost,kdepim-runtime,polkit-qt
name=pykde4
version=4.8.3
release=1
source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.xz)
build() {
# CXXFLAGS="$CXXFLAGS -DKDE3_SUPPORT"
cd $name-*
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=/usr/bin/python2
make
make DESTDIR=$PKG install
find $PKG -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
}
|