wok view lxqt-appswitcher/receipt @ rev 25043
lxpanel: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 16:50:09 2022 +0000 (2022-06-01) |
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 }