wok view boulderdash/receipt @ rev 24751
cairo-gl: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:24:41 2022 +0100 (2022-03-16) |
parents | a78610b2eb47 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
3 PACKAGE="boulderdash"
4 VERSION="0"
5 CATEGORY="games"
6 SHORT_DESC="C64 classic Boulderdash in HTML5 and JavaScript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://codeincomplete.com/posts/2011/10/25/javascript_boulderdash/"
11 WGET_URL="https://codeload.github.com/jakesgordon/javascript-boulderdash/zip/master"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://github.com/jakesgordon/javascript-boulderdash/commits/master 2>/dev/null | \
17 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/applications $fs/var/www/boulderdash \
24 $install/usr/share/doc
25 cp -a $src/* $fs/var/www/boulderdash
26 mv $fs/var/www/boulderdash/README.md $install/usr/share/doc
27 cat > $fs/usr/share/applications/boulderdash.desktop <<EOT
28 [Desktop Entry]
29 Type=Application
30 Encoding=UTF-8
31 Name=Boulderdash
32 Exec=sh -c "url=http://127.0.0.1/boulderdash/index.html ; tazweb --notoolbar \\\$url || browser \\\$url"
33 Terminal=false
34 Categories=Application;Game;
35 EOT
36 }