# SliTaz package receipt. PACKAGE="znotes" VERSION="0.4.5" CATEGORY="office" SHORT_DESC="zNotes is lightweigh crossplatform application for notes management" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" #WEB_SITE="http://qt-apps.org/content/show.php/zNotes?content=113117" #WEB_SITE="https://znotes.sourceforge.net/" WEB_SITE="https://github.com/proton/zNotes" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/proton/zNotes/archive/$VERSION.tar.gz" DEPENDS="libQtGui libQtXml" BUILD_DEPENDS="Qt4-dev qmake wget" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { lrelease znotes.pro qmake make make INSTALL_ROOT=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }