wok view cherrytree/receipt @ rev 25603

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