#Packager: George Vlahavas pkgname=lxqt-policykit pkgver=1.2.0 pkgrel=1gv source=("https://github.com/lxqt/lxqt-policykit/releases/download/$pkgver/lxqt-policykit-$pkgver.tar.xz") docs=("readme.md" "install" "copying" "changelog" "authors" "news" "todo") url=https://lxqt-project.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lxqt-policykit (The LXQt PolicyKit agent)" "lxqt-policykit is the polkit authentification agent of LXQt. polkit is" "a software framework to handle privileges of processes. In LXQt it is" "e.g. used to extend the privileges of the GUI tools of lxqt-admin." "These are launched by a regular user. But in order to apply the" "settings they deal with root privileges are needed and acquired via" "polkit." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg cd .. }