summaryrefslogtreecommitdiffstats
path: root/extra/polkit-qt/Pkgfile
blob: c247e7624e2f53bd60ade7ade5067a93ddd1caaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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

name=polkit-qt
version=0.96.1
release=2

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
}