summaryrefslogtreecommitdiffstats
path: root/extra/polkit-qt/Pkgfile
blob: dd9099b8ee2cbe41f3501a7ca750ace322a20753 (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: polkit, qt

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 $SRC
	mkdir build
	cd build
	cmake ../$name-1-$version \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON
	make
	make DESTDIR=$PKG install
}