wok-next view gutenpy/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents f48456621a9d
children
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=$install
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 }