wok-next view gutenpy/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents c022997c7a57
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gutenpy"
4 VERSION="0.3.0"
5 CATEGORY="office"
6 SHORT_DESC="A text reader and catalog browser for project Gutenburg"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gutenpy.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="python-dev"
16 compile_rules() {
17 # Fix missing .desktop file
18 sed -i '/share\/applications/d; /gutenpy.desktop/d' setup.py
20 python -B setup.py install --root=$DESTDIR
21 }
23 genpkg_rules() {
24 cp -a $install/usr $fs
25 # Add gutenpy.desktop file
26 cp -a stuff/* $fs
27 DEPENDS="python python-pygtk"
28 }