wok-current annotate qtfm/receipt @ rev 25368
libmpd: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 10:44:25 2022 +0000 (2022-07-29) |
parents | 7c0170dd3ecc |
children |
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 |
pascal@25113 | 13 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
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 } |