wok annotate cherrytree/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (10 months ago)
parents 1be16cc1cd50
children
rev   line source
al@13721 1 # SliTaz package receipt.
al@13721 2
al@13721 3 PACKAGE="cherrytree"
Hans-G?nter@22594 4 VERSION="0.38.10"
al@13721 5 CATEGORY="office"
Hans-G?nter@22594 6 SHORT_DESC="A hierarchical note taking application."
al@13721 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15202 8 LICENSE="GPL2"
pascal@25021 9 WEB_SITE="https://github.com/giuspen/cherrytree"
Hans-G?nter@20785 10
al@13721 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22594 12 WGET_URL="https://github.com/giuspen/$PACKAGE/archive/$VERSION.tar.gz"
al@13721 13
Hans-G?nter@22594 14 DEPENDS="p7zip-full pygtk pygtksourceview python"
Hans-G?nter@22594 15 BUILD_DEPENDS="desktop-file-utils pygtksourceview-dev python"
al@13721 16
pascal@25603 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25603 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
al@13721 24 # Rules to configure and make the package.
al@13721 25 compile_rules()
al@13721 26 {
al@13721 27 python setup.py install --prefix=$install/usr -f
al@13721 28 }
al@13721 29
al@13721 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13721 31 genpkg_rules()
al@13721 32 {
al@17261 33 mkdir -p $fs/usr/share
Hans-G?nter@22594 34
Hans-G?nter@22594 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22594 36 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22594 37 cp -a $install/usr/share/applications $fs/usr/share
Hans-G?nter@22594 38 cp -a $install/usr/share/cherrytree $fs/usr/share
Hans-G?nter@22594 39 cp -a $install/usr/share/icons $fs/usr/share
al@13721 40 }