# SliTaz package receipt. PACKAGE="lxqt-policykit" VERSION="0.8.0" CATEGORY="system-tools" SHORT_DESC="The LXQt PolicyKit agent" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://github.com/lxde/lxqt-policykit" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" TAGS="LXQt" DEPENDS="libQtCore libQtGui libffi libgio liblxqt libqtxdg pcre polkit \ polkit-qt zlib" BUILD_DEPENDS="wget cacerts cmake polkit-qt-dev liblxqt-dev polkit-dev Qt4-dev \ qmake libqtxdg-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { mkdir build; cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make && make DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }