wok view lxqt-runner/receipt @ rev 24419
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 11 11:14:46 2022 +0000 (2022-02-11) |
parents | c0ce132ba4ee |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-runner"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Tool used to launch programs quickly by typing their names"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-runner"
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 libQtScript libQtXml libqtxdg liblxqt \
15 lxqt-globalkeys menu-cache pcre"
16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liblxqt-dev libqtxdg-dev \
17 lxqt-globalkeys-dev menu-cache-dev xorg-libX11-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make &&
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }