wok view zim/receipt @ rev 24441

firefox-official*: prohibit user update
author Hans-G?nter Theisgen
date Mon Feb 14 07:01:08 2022 +0100 (2022-02-14)
parents 5c397f0326be
children bd7510903310
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="http://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 }