summaryrefslogtreecommitdiffstats
path: root/kde/kdebase-runtime/Pkgfile
blob: 8d705412dd3f99c7a829361b1c3285074c0c0620 (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
# Description: Programme de base pour KDE4
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: cmake, automoc4, kdelibs, kdepimlibs, ntrack, openslp, samba3, libssh, libcanberra, oxygen-icons, xorg-xauth, hicolor-icon-theme, xine-lib, rarian, docbook-xsl

# Run on: kdepimlibs,openslp,samba3,libssh,libcanberra,oxygen-icons,xorg-xauth,hicolor-icon-theme,xine-lib

name=kdebase-runtime
version=4.6.0
release=2
source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)

build() {
	unset MAKEFLAGS

	# En attendant une solution plus elegante
	sed -i "s/1.75.2/1.76.1/" /usr/share/apps/ksgmltools2/customization/kde-include-common.xsl
	sed -i "s/1.75.2/1.76.1/" /usr/share/apps/ksgmltools2/customization/kde-include-man.xsl

	cd $name-*
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON \
		-DWITH_PulseAudio=OFF
	make 
	make DESTDIR=$PKG install
	rm $PKG/usr/share/icons/hicolor/index.theme
	ln -sf /usr/lib/kde4/libexec/kdesu $PKG/usr/bin/
}