wok-6.x view qterminal/receipt @ rev 25553
Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 09 14:47:24 2023 +0000 (19 months ago) |
parents | fa1a940c727c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qterminal"
4 #COMMIT="fff3774510ac437b8635f8a0b6c2d7f20b9cef86"
5 #VERSION="${COMMIT:0:7}" was 0.5.0
6 VERSION="0.6.0" # last version with qt4 support
7 CATEGORY="system-tools"
8 TAGS="terminal"
9 SHORT_DESC="A Qt based terminal."
10 MAINTAINER="al.bobylev@gmail.com"
11 LICENSE="GPL2"
12 WEB_SITE="https://github.com/lxqt/qterminal"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
17 DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget"
18 BUILD_DEPENDS="cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev"
20 GENERIC_PIXMAPS="no"
21 GENERIC_MENUS="no"
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 mkdir build
33 cd build
34 cmake .. \
35 -DCMAKE_INSTALL_PREFIX=/usr \
36 -DUSE_SYSTEM_QXT=0 &&
37 make &&
38 make DESTDIR=$install install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/applications $fs/usr/share
49 sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop
50 }