wok annotate qtfm/receipt @ rev 25014
updated opencc, openss-dev and opencc-tools (1.0.5 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 17 07:50:08 2022 +0100 (2022-05-17) |
parents | 6135577f4d08 |
children | 77ec99338524 |
rev | line source |
---|---|
pankso@12275 | 1 # SliTaz package receipt. |
pankso@12275 | 2 |
pankso@12275 | 3 PACKAGE="qtfm" |
al@16673 | 4 VERSION="5.9" |
pankso@12275 | 5 CATEGORY="x-window" |
pankso@12275 | 6 SHORT_DESC="Small and lightweight file manager using QT library" |
pankso@12275 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@16673 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@20679 | 10 WEB_SITE="https://qtfm.eu/" |
al@16673 | 11 # "official" is v.5.5, but here is newer: |
al@16673 | 12 # http://qt-apps.org/content/show.php/QtFM?content=158787 |
al@16673 | 13 WGET_URL="http://qt-apps.org/CONTENT/content-files/158787-qtfm.zip" |
pankso@12275 | 14 |
al@16673 | 15 DEPENDS="libQtGui libQtNetwork libmagic" |
al@16673 | 16 BUILD_DEPENDS="cmake Qt4-dev qmake libmagic-dev" |
pankso@12275 | 17 |
pascal@24535 | 18 # What is the latest version available today? |
pascal@24535 | 19 current_version() |
pascal@24535 | 20 { |
pascal@24535 | 21 wget -O - https://github.com/rodlie/qtfm/releases 2>/dev/null | \ |
pascal@24535 | 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24535 | 23 } |
pascal@24535 | 24 |
pankso@12275 | 25 # Rules to configure and make the package. |
pankso@12275 | 26 compile_rules() |
pankso@12275 | 27 { |
al@16673 | 28 lrelease $src/translations/*.ts |
pankso@12275 | 29 qmake && make && make INSTALL_ROOT=$DESTDIR install |
pankso@12275 | 30 } |
pankso@12275 | 31 |
pankso@12275 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12275 | 33 genpkg_rules() |
pankso@12275 | 34 { |
al@16673 | 35 cp -a $install/* $fs |
al@16675 | 36 rm -rf $fs/usr/share/doc |
pankso@12275 | 37 } |