wok-next diff zim/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3254b6a96ac |
children | 49205cea4356 |
line diff
1.1 --- a/zim/receipt Tue Sep 25 17:35:51 2018 +0300 1.2 +++ b/zim/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,31 +1,30 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="zim" 1.8 VERSION="0.65" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="A desktop wiki." 1.11 -MAINTAINER="gokhlayeh@slitaz.org" 1.12 +SHORT_DESC="A desktop wiki" 1.13 +MAINTAINER="devel@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://zim-wiki.org/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://zim-wiki.org/" 1.19 WGET_URL="http://zim-wiki.org/downloads/$TARBALL" 1.20 -TAGS="wiki notebook" 1.21 1.22 -DEPENDS="python python-pygtk python-pygobject2 python-simplejson python-pyxdg \ 1.23 -desktop-file-utils shared-mime-info xdg-utils" 1.24 -BUILD_DEPENDS="$DEPENDS python-pycairo-dev python-pygobject2-dev python-pygtk-dev python-dev" 1.25 +BUILD_DEPENDS="python-dev python-pygtk python-pygobject2 python-simplejson \ 1.26 +python-pyxdg desktop-file-utils shared-mime-info xdg-utils python-pycairo-dev \ 1.27 +python-pygobject2-dev python-pygtk-dev" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - ./setup.py install --root=$DESTDIR install 1.33 +compile_rules() { 1.34 + python -B setup.py install --root=$install install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 +genpkg_rules() { 1.41 mkdir -p $fs/usr/share 1.42 cp -a $install/usr/bin $fs/usr 1.43 cp -a $install/usr/lib $fs/usr 1.44 cp -a $install/usr/share/zim $fs/usr/share 1.45 + DEPENDS="python python-pygtk python-pygobject2 python-simplejson \ 1.46 + python-pyxdg desktop-file-utils shared-mime-info xdg-utils" 1.47 + TAGS="wiki notebook" 1.48 }