wok-current annotate znotes/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (2 weeks ago) |
parents | 7dd01dedad38 |
children |
rev | line source |
---|---|
al@16676 | 1 # SliTaz package receipt. |
al@16676 | 2 |
al@16676 | 3 PACKAGE="znotes" |
al@16676 | 4 VERSION="0.4.5" |
al@16676 | 5 CATEGORY="office" |
al@16676 | 6 SHORT_DESC="zNotes is lightweigh crossplatform application for notes management" |
al@16676 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16676 | 8 LICENSE="GPL3" |
pascal@21954 | 9 #WEB_SITE="http://qt-apps.org/content/show.php/zNotes?content=113117" |
pascal@25460 | 10 #WEB_SITE="https://znotes.sourceforge.net/" |
pascal@21954 | 11 WEB_SITE="https://github.com/proton/zNotes" |
al@16676 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16676 | 13 WGET_URL="https://github.com/proton/zNotes/archive/$VERSION.tar.gz" |
al@16676 | 14 |
al@16676 | 15 DEPENDS="libQtGui libQtXml" |
al@16676 | 16 BUILD_DEPENDS="Qt4-dev qmake wget" |
al@16676 | 17 |
pascal@25461 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
al@16676 | 25 # Rules to configure and make the package. |
al@16676 | 26 compile_rules() |
al@16676 | 27 { |
al@16676 | 28 lrelease znotes.pro |
al@16676 | 29 qmake |
al@16676 | 30 make |
al@16676 | 31 make INSTALL_ROOT=$install install |
al@16676 | 32 } |
al@16676 | 33 |
al@16676 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16676 | 35 genpkg_rules() |
al@16676 | 36 { |
al@16676 | 37 cp -a $install/* $fs |
al@16676 | 38 } |