wok-next view xtron/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 7639f09792cf |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xtron"
4 VERSION="1.1a"
5 CATEGORY="games"
6 SHORT_DESC="Simple X game based on light-cycle race from the movie TRON"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://ibiblio.org/pub/Linux/games/arcade/$TARBALL"
14 BUILD_DEPENDS="xorg-dev"
16 compile_rules() {
17 sed -i 's|/usr/X386|/usr|' Makefile
18 sed -i 's|./pixmaps/|/usr/share/games/xtron/|' xtronrc
19 sed -i 's|usr/X11/lib|etc|' resource.c xtronrc
21 make || return 1
23 mkdir -p \
24 $install/usr/games \
25 $install/usr/share/games \
26 $install/etc/X11/app-defaults \
27 $install/usr/share/applications
28 cp -a $src/xtron $install/usr/games/
29 cp -a $src/pixmaps $install/usr/share/games/xtron
30 cp -a $src/xtronrc $install/etc/X11/app-defaults/
31 }
33 genpkg_rules() {
34 copy @std
35 DEPENDS="xorg-libXpm xorg-libXau xorg-libxcb"
36 }