summaryrefslogtreecommitdiffstats
path: root/kde/marble/Pkgfile
blob: ccc3a4e8999ccdfbbfbac455242f3f7c29aa3aaa (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
30
31
32
33
34
35
36
37
38
39
40
# Description: widget pour se reperer geographiquement pour KDE4
# URL: http://edu.kde.org/marble/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: kdelibs, gpsd, qt, cmake, docbook-xsl
# Run on: kdelibs,gpsd

name=marble
version=4.6.5
release=1
pkgbase=kdeedu

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


build() {
	cd $SRC
	mkdir build
	cd build
	cmake ../${pkgbase}-${version} \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=OFF \
		-DCMAKE_INSTALL_PREFIX=/usr
	make

	cd $SRC/build/marble
        make DESTDIR=$PKG install

	cd $SRC/build/marble/doc
        make DESTDIR=$PKG install

#	git clone git://anongit.kde.org/marble
#	cd $name
#	cmake ../$name -DCMAKE_INSTALL_PREFIX=/usr \
#		-DCMAKE_BUILD_TYPE=Release \
#		-DCMAKE_SKIP_RPATH=OFF
#	make
#	make DESTDIR=$PKG install
}