wok-current diff boulderdash/receipt @ rev 20525
Up fuse-exfat (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 07 10:46:24 2018 +0100 (2018-11-07) |
parents | |
children | a78610b2eb47 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/boulderdash/receipt Wed Nov 07 10:46:24 2018 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="boulderdash" 1.7 +VERSION="0" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="C64 classic Boulderdash in HTML5 and JavaScript" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.zip" 1.13 +WEB_SITE="http://codeincomplete.com/posts/2011/10/25/javascript_boulderdash/" 1.14 +WGET_URL="https://codeload.github.com/jakesgordon/javascript-boulderdash/zip/master" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/share/applications $fs/var/www/boulderdash \ 1.20 + $install/usr/share/doc 1.21 + cp -a $src/* $fs/var/www/boulderdash 1.22 + mv $fs/var/www/boulderdash/README.md $install/usr/share/doc 1.23 + cat > $fs/usr/share/applications/boulderdash.desktop <<EOT 1.24 +[Desktop Entry] 1.25 +Type=Application 1.26 +Encoding=UTF-8 1.27 +Name=Boulderdash 1.28 +Exec=sh -c "url=http://127.0.0.1/boulderdash/index.html ; tazweb --notoolbar \\\$url || browser \\\$url" 1.29 +Terminal=false 1.30 +Categories=Application;Game; 1.31 +EOT 1.32 +}