summaryrefslogtreecommitdiffstats
path: root/extra/polkit-qt/Pkgfile
blob: a6548d1deb65e05270e6e47a2bc01609f47a5a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Librairie permettant aux dévelopeurs d'accéder à l'API policyKit via qt
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: automoc4, cmake, polkit, qt
# Run on:

name=polkit-qt
version=0.96.1
release=1

source=(ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$name-1-$version.tar.bz2)
build() {
	cd $name-1-$version

	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON
	make
	make DESTDIR=$PKG install
}