wok-6.x view compton-conf/receipt @ rev 24448
firefox-official*: disable update by policy
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 15 10:43:08 2022 +0100 (2022-02-15) |
parents | c0ce132ba4ee |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="compton-conf"
4 VERSION="0.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GUI configuration tool for compton X composite manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/compton-conf"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="compton libQtCore libQtDBus libQtGui libconfig"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake libconfig-dev "
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build; cd build
27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
28 make &&
29 make DESTDIR=$install install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }