wok annotate 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 |
rev | line source |
---|---|
pankso@3369 | 1 # SliTaz package receipt. |
pankso@3369 | 2 |
pankso@3369 | 3 PACKAGE="zim" |
llevrel@19209 | 4 VERSION="0.65" |
pankso@3369 | 5 CATEGORY="utilities" |
pankso@3369 | 6 SHORT_DESC="A desktop wiki." |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15198 | 8 LICENSE="GPL2" |
gokhlayeh@5873 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21130 | 10 WEB_SITE="https://zim-wiki.org/" |
gokhlayeh@5873 | 11 WGET_URL="http://zim-wiki.org/downloads/$TARBALL" |
gokhlayeh@5873 | 12 TAGS="wiki notebook" |
pankso@3369 | 13 |
al@18086 | 14 DEPENDS="python pygtk pygobject python-simplejson python-xdg \ |
al@18086 | 15 desktop-file-utils shared-mime-info xdg-utils" |
pascal@15198 | 16 BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev" |
pascal@15198 | 17 |
pascal@24304 | 18 # What is the latest version available today? |
pascal@24304 | 19 current_version() |
pascal@24304 | 20 { |
pascal@24304 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24304 | 22 sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1 |
pascal@24304 | 23 } |
pascal@24304 | 24 |
pankso@3369 | 25 # Rules to configure and make the package. |
pankso@3369 | 26 compile_rules() |
pankso@3369 | 27 { |
slaxemulator@10187 | 28 ./setup.py install --root=$DESTDIR install |
pankso@3369 | 29 } |
pankso@3369 | 30 |
pankso@3369 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3369 | 32 genpkg_rules() |
pankso@3369 | 33 { |
al@17261 | 34 mkdir -p $fs/usr/share |
al@17261 | 35 cp -a $install/usr/bin $fs/usr |
al@17261 | 36 cp -a $install/usr/lib $fs/usr |
al@17261 | 37 cp -a $install/usr/share/zim $fs/usr/share |
pankso@3369 | 38 } |