wok-6.x diff webian-shell/receipt @ rev 19038
Add: Webian Shell (A full screen web browser.)
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Fri Apr 15 08:16:46 2016 -0300 (2016-04-15) |
parents | |
children | 42c000ae75d3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/webian-shell/receipt Fri Apr 15 08:16:46 2016 -0300 1.3 @@ -0,0 +1,59 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="webian-shell" 1.7 +VERSION="0.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A full screen web browser." 1.10 +MAINTAINER="hackdorte@sapo.pt" 1.11 +LICENSE="MPL2" 1.12 +WEB_SITE="http://webian.org/shell/" 1.13 + 1.14 +# Please, this receipt need improvements in the variables. Thank you. 1.15 +GITHUB="https://github.com/downloads" 1.16 +SOURCE="webian_shell_0.1-linux_32" 1.17 + 1.18 +TARBALL="$SOURCE.tar.gz" 1.19 +WGET_URL="$GITHUB/webianproject/shell/$TARBALL" 1.20 + 1.21 +DEPENDS="gtk+ nss" 1.22 + 1.23 +compile_rules() 1.24 +{ 1.25 + 1.26 +mkdir -p $install/usr/share/applications 1.27 +mkdir -p $install/usr/share/pixmaps 1.28 +mkdir -p $install/usr/lib/webian-shell 1.29 + 1.30 +cp -a $src/xulrunner/chrome/icons/default/default32.png $install/usr/share/pixmaps/webian-shell.png 1.31 +cp -a $src/* $install/usr/lib/webian-shell 1.32 + 1.33 +} 1.34 + 1.35 +genpkg_rules() 1.36 +{ 1.37 + 1.38 +cat > $install/usr/share/applications/webian-shell.desktop <<EOT 1.39 +[Desktop Entry] 1.40 +Type=Application 1.41 +Name=Webian Shell 1.42 +Comment=A full screen web browser. 1.43 +Exec=webian-shell 1.44 +Icon=webian-shell 1.45 +Categories=Network;WebBrowser; 1.46 +MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; 1.47 +EOT 1.48 + 1.49 +cp -a $install/* $fs 1.50 + 1.51 +} 1.52 + 1.53 +post_install() 1.54 +{ 1.55 + cd /usr/bin 1.56 + ln -s /usr/lib/webian-shell/Webian\ Shell webian-shell 1.57 +} 1.58 + 1.59 +post_remove() 1.60 +{ 1.61 + rm -rf /usr/bin/webian-shell 1.62 +}