wok annotate qterminal/receipt @ rev 24864
updated lsof (4.93.2 -> 4.94.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 06:22:51 2022 +0100 (2022-03-30) |
parents | fa1a940c727c |
children | 0262035dc1e7 |
rev | line source |
---|---|
al@16808 | 1 # SliTaz package receipt. |
al@16808 | 2 |
al@16808 | 3 PACKAGE="qterminal" |
Hans-G?nter@23845 | 4 #COMMIT="fff3774510ac437b8635f8a0b6c2d7f20b9cef86" |
Hans-G?nter@23845 | 5 #VERSION="${COMMIT:0:7}" was 0.5.0 |
Hans-G?nter@23845 | 6 VERSION="0.6.0" # last version with qt4 support |
al@17516 | 7 CATEGORY="system-tools" |
Hans-G?nter@23845 | 8 TAGS="terminal" |
Hans-G?nter@23845 | 9 SHORT_DESC="A Qt based terminal." |
al@16808 | 10 MAINTAINER="al.bobylev@gmail.com" |
al@16808 | 11 LICENSE="GPL2" |
Hans-G?nter@23845 | 12 WEB_SITE="https://github.com/lxqt/qterminal" |
Hans-G?nter@23845 | 13 |
al@16808 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23845 | 15 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
Hans-G?nter@23845 | 16 |
Hans-G?nter@23845 | 17 DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget" |
Hans-G?nter@23845 | 18 BUILD_DEPENDS="cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev" |
Hans-G?nter@23845 | 19 |
al@16808 | 20 GENERIC_PIXMAPS="no" |
al@16808 | 21 GENERIC_MENUS="no" |
al@16808 | 22 |
pascal@24055 | 23 current_version() |
pascal@24055 | 24 { |
pascal@24055 | 25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 26 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 27 } |
pascal@24055 | 28 |
al@16808 | 29 # Rules to configure and make the package. |
al@16808 | 30 compile_rules() |
al@16808 | 31 { |
Hans-G?nter@23845 | 32 mkdir build |
Hans-G?nter@23845 | 33 cd build |
Hans-G?nter@23845 | 34 cmake .. \ |
Hans-G?nter@23845 | 35 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@23845 | 36 -DUSE_SYSTEM_QXT=0 && |
al@16808 | 37 make && |
al@16808 | 38 make DESTDIR=$install install |
al@16808 | 39 } |
al@16808 | 40 |
al@16808 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16808 | 42 genpkg_rules() |
al@16808 | 43 { |
al@16808 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@23845 | 45 |
Hans-G?nter@23845 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23845 | 47 cp -a $install/usr/share/applications $fs/usr/share |
al@16808 | 48 |
al@16808 | 49 sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop |
al@16808 | 50 } |