wok-current diff xtron/receipt @ rev 23153

updated lxtask (0.1.8 -> 0.1.9)
author Hans-G?nter Theisgen
date Sun Mar 15 16:52:17 2020 +0100 (2020-03-15)
parents
children 318701ea94ca
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xtron/receipt	Sun Mar 15 16:52:17 2020 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xtron"
     1.7 +VERSION="1.1a"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Simple X game based on light-cycle race from the movie TRON."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.13 +WEB_SITE="ftp://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm"
    1.14 +WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
    1.15 +
    1.16 +DEPENDS="xorg-libXpm xorg-libXau libxcb"
    1.17 +BUILD_DEPENDS="xorg-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	sed -i 's|/usr/X386|/usr|' Makefile
    1.23 +	sed -i 's|./pixmaps/|/usr/share/games/xtron/|' xtronrc
    1.24 +	sed -i 's|usr/X11/lib|etc|' resource.c xtronrc
    1.25 +	make
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/games $fs/usr/share/games $fs/etc/X11/app-defaults
    1.32 +	mkdir -p $fs/usr/share/applications
    1.33 +	cp -a $src/xtron $fs/usr/games
    1.34 +	cp -a $src/pixmaps $fs/usr/share/games/xtron
    1.35 +	cp -a $src/xtronrc $fs/etc/X11/app-defaults/
    1.36 +	cat > $fs/usr/share/applications/xtron.desktop <<EOT
    1.37 +[Desktop Entry]
    1.38 +Type=Application
    1.39 +Encoding=UTF-8
    1.40 +Name=xtron
    1.41 +Exec=xtron
    1.42 +Icon=/usr/share/games/xtron/Xtron_icon.xpm
    1.43 +Terminal=false
    1.44 +Categories=Application;Game;
    1.45 +EOT
    1.46 +}