summaryrefslogtreecommitdiffstats
path: root/kde/polkit-kde/Pkgfile
blob: 234ba712df69ba312bf0221eee636b74b56a8b1d (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: Librairie d'agent d'authentification de kde
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: kdelibs

name=polkit-kde
version=0.95.1
release=1
source=(ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$name-1-$version.tar.bz2
	xdg-path.patch
	gcc45.patch)

build() {
	cd $SRC/$name-1-$version
	patch -p0 -i $SRC/xdg-path.patch 
	patch -p0 -i $SRC/gcc45.patch
	cd ..
	mkdir build
	cd build
	export XDG_CONFIG_DIRS=/etc/xdg
	cmake ../$name-1-$version \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON
	make
	make DESTDIR=$PKG install
}