wok view othello/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 6a937d641b10 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="othello"
4 VERSION="1.0"
5 CATEGORY="games"
6 SHORT_DESC="Othello game in javascript"
7 TARBALL="$PACKAGE-$VERSION.tar.lzma"
8 WGET_URL="http://mirror.slitaz.org/sources/packages/o/$TARBALL"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="MIT"
11 WEB_SITE="https://web.archive.org/web/20101231221346/http://www.posi.net/software/othello/"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i 's|TITLE>.*</TITLE|TITLE>Othello</TITLE|' index.html
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/var/www/othello $fs/usr/share/applications
23 cp -a $src/* $fs/var/www/othello
24 chown -R 80.80 $fs/var/www/othello
25 cat > $fs/usr/share/applications/othello.desktop <<EOT
26 [Desktop Entry]
27 Type=Application
28 Name=Othello
29 Exec=browser file:///var/www/othello/index.html
30 Icon=/var/www/othello/images/black.gif
31 Terminal=false
32 Categories=Game;
33 Comment=Othello game
34 EOT
35 }