wok-next view lxqt-powermanagement/receipt @ rev 20762

Add leanify
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 05 17:27:09 2018 +0300 (2018-06-05)
parents d394530f7404
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-powermanagement"
4 VERSION="0.12.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Power management module for LXQt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-powermanagement"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-powermanagement.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/lxqt-powermanagement/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake liblxqt-dev mesa-dev solid-dev kwindowsystem-dev \
16 lxqt-build-tools kidletime-dev upower-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DPULL_TRANSLATIONS=no \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="kidletime kwindowsystem liblxqt libqtxdg qt5-base qt5-svg \
32 qt5-x11extras solid upower"
33 TAGS="LXQt"
34 }