wok-6.x view znotes/receipt @ rev 25506

memtest, pack: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 09 16:28:01 2023 +0000 (21 months ago)
parents 7dd01dedad38
children
line source
1 # SliTaz package receipt.
3 PACKAGE="znotes"
4 VERSION="0.4.5"
5 CATEGORY="office"
6 SHORT_DESC="zNotes is lightweigh crossplatform application for notes management"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 #WEB_SITE="http://qt-apps.org/content/show.php/zNotes?content=113117"
10 #WEB_SITE="https://znotes.sourceforge.net/"
11 WEB_SITE="https://github.com/proton/zNotes"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/proton/zNotes/archive/$VERSION.tar.gz"
15 DEPENDS="libQtGui libQtXml"
16 BUILD_DEPENDS="Qt4-dev qmake wget"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 lrelease znotes.pro
29 qmake
30 make
31 make INSTALL_ROOT=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }