wok-6.x view zim/receipt @ rev 25192

updated python-formencode (1.2.2 -> 2.0.1)
author Hans-G?nter Theisgen
date Wed Jul 13 10:37:28 2022 +0100 (2022-07-13)
parents 922f061231c2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="zim"
4 VERSION="0.65"
5 CATEGORY="utilities"
6 SHORT_DESC="A desktop wiki."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://zim-wiki.org/"
11 WGET_URL="https://zim-wiki.org/downloads/$TARBALL"
12 TAGS="wiki notebook"
14 DEPENDS="python pygtk pygobject python-simplejson python-xdg \
15 desktop-file-utils shared-mime-info xdg-utils"
16 BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./setup.py install --root=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 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/zim $fs/usr/share
38 }