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