wok view lxqt-qtplugin/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 bdcd8803b305
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-qtplugin"
4 VERSION="0.8.0"
5 CATEGORY="misc"
6 SHORT_DESC="LXQt Qt platform integration plugin"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-qtplugin"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtGui"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liblxqt-dev libqtxdg-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build; cd build
27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
28 make &&
29 make DESTDIR=$install install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }