summaryrefslogtreecommitdiffstats
path: root/kde/kdeedu/Pkgfile
blob: 6a5f48eede3e0e41f1b5792bcea93ac941409582 (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: Programmes d'apprentissiage KDE
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: cmake, automoc4, boost, qt, kdelibs, kdebase-runtime, pyqt, xorg-libxtst, xorg-libxscrnsaver, kdebase-runtime, libxslt, libxml2, docbook-xsl, libspectre, gsl, eigen2, gpsd
# Run on: kdebase-runtime,libxslt,pyqt,libspectre,gsl,eigen2,gpsd

name=kdeedu
version=4.6.5
release=2

source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)

build() {
	cd $name-*
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_SKIP_RPATH=OFF \
		-DBUILD_doc=ON \
		-DKDE_DEFAULT_HOME=.kde \
                -DSYSCONF_INSTALL_DIR=/etc \
		-DBUILD_marble=FALSE

	make
	make DESTDIR=$PKG install

	sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $PKG/usr/bin/pykig.py
}