wok-6.x view lxqt-appswitcher/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 20661c276bcf
children 77ec99338524
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-appswitcher"
4 VERSION="0.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="The LXQt application switcher"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/zjes/lxqt-appswitcher"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtXml liblxqt lxqt-globalkeys"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev liblxqt-dev \
16 lxqt-globalkeys-dev libqtxdg-dev "
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|lxqt/LxQt|lxqt/LXQt/|' src/*.h src/*.cpp
29 mkdir build; cd build
30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
31 make &&
32 make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }