wok view qterminal/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 0262035dc1e7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qterminal"
4 VERSION="0.6.0" # last version with qt4 support
5 CATEGORY="system-tools"
6 TAGS="terminal"
7 SHORT_DESC="A Qt based terminal."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/lxqt/qterminal"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget"
16 BUILD_DEPENDS="cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev"
18 GENERIC_PIXMAPS="no"
19 GENERIC_MENUS="no"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 mkdir build
32 cd build
33 cmake .. \
34 -DCMAKE_INSTALL_PREFIX=/usr \
35 -DUSE_SYSTEM_QXT=0 &&
36 make &&
37 make DESTDIR=$install install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/applications $fs/usr/share
48 sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop
49 }