wok view qtfm/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (16 months ago)
parents 77ec99338524
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qtfm"
4 VERSION="5.9"
5 CATEGORY="x-window"
6 SHORT_DESC="Small and lightweight file manager using QT library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://qtfm.eu/"
11 # "official" is v.5.5, but here is newer:
12 # http://qt-apps.org/content/show.php/QtFM?content=158787
13 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
15 DEPENDS="libQtGui libQtNetwork libmagic"
16 BUILD_DEPENDS="cmake Qt4-dev qmake libmagic-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/rodlie/qtfm/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 lrelease $src/translations/*.ts
29 qmake && make && make INSTALL_ROOT=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 rm -rf $fs/usr/share/doc
37 }