wok annotate znotes/receipt @ rev 24099
Up openssh (8.7p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 16 08:39:38 2021 +0000 (2021-09-16) |
parents | 39567aac1197 |
children | 7dd01dedad38 |
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" |
al@16676 | 10 #WEB_SITE="http://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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
al@16676 | 24 # Rules to configure and make the package. |
al@16676 | 25 compile_rules() |
al@16676 | 26 { |
al@16676 | 27 lrelease znotes.pro |
al@16676 | 28 qmake |
al@16676 | 29 make |
al@16676 | 30 make INSTALL_ROOT=$install install |
al@16676 | 31 } |
al@16676 | 32 |
al@16676 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16676 | 34 genpkg_rules() |
al@16676 | 35 { |
al@16676 | 36 cp -a $install/* $fs |
al@16676 | 37 } |