wok view gnome-games-glchess/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 380ffe05937a
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-games-glchess"
4 VERSION="2.32.1"
5 CATEGORY="games"
6 SHORT_DESC="Chess game using GL/Mesa."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnome.org/"
10 WANTED="gnome-games"
11 TAGS="chess"
13 DEPENDS="mesa python gnuchess gnome-games-icons"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 game=glchess
19 mkdir -p \
20 $fs/usr/games $fs/usr/lib \
21 $fs/usr/share/applications
23 cp -a $install/usr/games/$game $fs/usr/games
24 cp -a $install/usr/lib/python* $fs/usr/lib
25 rm -rf $fs/usr/lib/python*/*/gnome_sudoku
26 cp -a $install/usr/share/$game $fs/usr/share
28 cp $src/$game/$game.desktop $fs/usr/share/applications
29 }