wok-6.x view sudoku/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 90a87813caa6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku"
4 VERSION="2.3"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku game in javascript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 TARBALL="$PACKAGE-$VERSION"
10 WEB_SITE="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Entry/81"
11 WGET_URL="https://web.archive.org/web/20140124074927/http://10k.aneventapart.com/1/Uploads/81/"
12 HOST_ARCH="any"
13 GENERIC_PIXMAPS="no"
14 COOKOPTS="!pixmaps"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
20 sed -e '/BEGIN WAYBACK TOOLBAR INSERT/,/END WAYBACK TOOLBAR INSERT/d' \
21 -e '/analytics.js/,/End Wayback Rewrite JS Include/d' \
22 -e '/<\/html>/,$d' < $src/$TARBALL > $fs/var/www/$PACKAGE/index.html
23 echo '</html>' >> $fs/var/www/$PACKAGE/index.html
24 grep -q '<head>' $fs/var/www/$PACKAGE/index.html ||
25 sed -i 's|<html>|&\n<head>|' $fs/var/www/$PACKAGE/index.html
26 chown -R 80.80 $fs/var/www/$PACKAGE
27 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
28 [Desktop Entry]
29 Type=Application
30 Name=Sudoku
31 Name[zh_CN]=数独
32 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url"
33 Icon=sudoku
34 Terminal=false
35 Categories=Game;
36 Comment=Sudoku game
37 EOT
38 }