summaryrefslogtreecommitdiffstats
path: root/kde/polkit-kde/Pkgfile
blob: 799b2c20660abd2cb324d409e3e3c7168efc435a (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
# 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: cmake, kdelibs
# Run on: kdelibs

name=polkit-kde
version=0.99.0
release=1
source=(ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$name-agent-1-$version.tar.bz2
	http://nutyx.meticul.eu/files/patchs/$name/{xdg-path.patch,gcc45.patch})

build() {
	cd $SRC
	mkdir build
	cd build
	cmake ../$name-agent-1-$version \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON
	make
	make DESTDIR=$PKG install
}