wok-6.x view lxqt-appswitcher/receipt @ rev 25447

Down firefox-official (77.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 16:17:24 2022 +0000 (2022-09-06)
parents b569b85b0fb9
children
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://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
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 }