wok-current view webian-shell/receipt @ rev 21437
updated micro_proxy (20021030 -> 20140814)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 27 16:25:25 2019 +0100 (2019-04-27) |
parents | 3152f5063a90 |
children | 922f061231c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="webian-shell"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="A full screen web browser."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="MPL2"
9 WEB_SITE="http://webian.org/shell/"
10 GITHUB="https://cloud.github.com/downloads"
11 TARBALL="${PACKAGE/-/_}_$VERSION-linux_32.tar.gz"
12 WGET_URL="$GITHUB/webianproject/shell/$TARBALL"
14 DEPENDS="gtk+ nss"
15 BUILD_DEPENDS="wget"
17 compile_rules()
18 {
20 mkdir -p $install/usr/share/applications
21 mkdir -p $install/usr/share/pixmaps
22 mkdir -p $install/usr/lib/webian-shell
24 cp -a $src/xulrunner/chrome/icons/default/default32.png $install/usr/share/pixmaps/webian-shell.png
25 cp -a $src/* $install/usr/lib/webian-shell
27 }
29 genpkg_rules()
30 {
32 cat > $install/usr/share/applications/webian-shell.desktop <<EOT
33 [Desktop Entry]
34 Type=Application
35 Name=Webian Shell
36 Comment=A full screen web browser.
37 Exec=webian-shell
38 Icon=webian-shell
39 Categories=Network;WebBrowser;
40 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
41 EOT
43 cp -a $install/* $fs
45 }
47 post_install()
48 {
49 ln -s /usr/lib/webian-shell/Webian\ Shell $1/usr/bin/webian-shell
50 }
52 post_remove()
53 {
54 rm -rf $1/usr/bin/webian-shell
55 }