summaryrefslogtreecommitdiffstats
path: root/kde/kdebindings/Pkgfile
blob: 379a96e5f63487bcfbb9642dc3265eaa7dd6420c (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
26
27
28
29
# Description: Pour écrire des applications KDE dans différents langages
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: kdepim-runtime, kdegraphics, qscintilla

name=kdebindings
version=4.5.2
release=2
source=(ftp://kde.mirrors.pair.com/stable/$version/src/$name-$version.tar.bz2
	http://nutyx.meticul.eu/files/patchs/$name/fix-pyqt4-build.patch
	http://nutyx.meticul.eu/files/patchs/$name/fix-generator-segfaults.patch) 

build() {
	unset MAKEFLAGS
	cd $name-$version

	patch -Np0 -i ../fix-pyqt4-build.patch
	patch -Np4 -i ../fix-generator-segfaults.patch

	mkdir build
 	cd build

	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
                -DCMAKE_BUILD_TYPE=Release
	make
	make DESTDIR=$PKG install
}