wok-current view lxqt-session/receipt @ rev 24980
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 09:19:55 2022 +0000 (2022-05-08) |
parents | c0ce132ba4ee |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-session"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="An alternative session manager ported from the original razor-session"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-session"
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 liblxqt libqtxdg xorg-libX11 xorg-libXext"
15 BUILD_DEPENDS="wget cacerts cmake liblxqt-dev Qt4-dev qmake xorg-libX11-dev \
16 libqtxdg-dev grep"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build; cd build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
29 make &&
30 make DESTDIR=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 rm -rf $fs/usr/share/lxqt
38 }