wok-current 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 d0c0682403b4
children 42c000ae75d3
files webian-shell/description.txt webian-shell/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/webian-shell/description.txt	Fri Apr 15 08:16:46 2016 -0300
     1.3 @@ -0,0 +1,10 @@
     1.4 +Shell is built on Mozilla Chromeless, some of the latest technology
     1.5 +from the people who make Firefox. Chromeless allows Shell itself to
     1.6 +be written in standard web technologies like HTML, CSS & JavaScript,
     1.7 +giving you a pure web experience.
     1.8 +
     1.9 +Shell is completely open source and is built on open source 
    1.10 +technologies and open standards.
    1.11 +
    1.12 +Webian Shell - Browser
    1.13 +http://webian.org/shell/
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/webian-shell/receipt	Fri Apr 15 08:16:46 2016 -0300
     2.3 @@ -0,0 +1,59 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="webian-shell"
     2.7 +VERSION="0.1"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="A full screen web browser."
    2.10 +MAINTAINER="hackdorte@sapo.pt"
    2.11 +LICENSE="MPL2"
    2.12 +WEB_SITE="http://webian.org/shell/"
    2.13 +
    2.14 +# Please, this receipt need improvements in the variables. Thank you.
    2.15 +GITHUB="https://github.com/downloads"
    2.16 +SOURCE="webian_shell_0.1-linux_32"
    2.17 +
    2.18 +TARBALL="$SOURCE.tar.gz"
    2.19 +WGET_URL="$GITHUB/webianproject/shell/$TARBALL"
    2.20 +
    2.21 +DEPENDS="gtk+ nss"
    2.22 +
    2.23 +compile_rules()
    2.24 +{
    2.25 +
    2.26 +mkdir -p $install/usr/share/applications
    2.27 +mkdir -p $install/usr/share/pixmaps
    2.28 +mkdir -p $install/usr/lib/webian-shell
    2.29 +
    2.30 +cp -a $src/xulrunner/chrome/icons/default/default32.png $install/usr/share/pixmaps/webian-shell.png
    2.31 +cp -a $src/* $install/usr/lib/webian-shell
    2.32 +
    2.33 +}
    2.34 +
    2.35 +genpkg_rules()
    2.36 +{
    2.37 +
    2.38 +cat > $install/usr/share/applications/webian-shell.desktop <<EOT
    2.39 +[Desktop Entry]
    2.40 +Type=Application
    2.41 +Name=Webian Shell
    2.42 +Comment=A full screen web browser.
    2.43 +Exec=webian-shell
    2.44 +Icon=webian-shell
    2.45 +Categories=Network;WebBrowser;
    2.46 +MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
    2.47 +EOT
    2.48 +
    2.49 +cp -a $install/* $fs
    2.50 +
    2.51 +}
    2.52 +
    2.53 +post_install()
    2.54 +{
    2.55 +  cd /usr/bin
    2.56 +  ln -s /usr/lib/webian-shell/Webian\ Shell webian-shell
    2.57 +}
    2.58 +
    2.59 +post_remove()
    2.60 +{
    2.61 +  rm -rf /usr/bin/webian-shell
    2.62 +}