wok-next view webian-shell/receipt @ rev 20976
Follow recent changes in the Python renames
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 25 17:35:51 2018 +0300 (2018-09-25) |
parents | b1d91bf4e3b2 |
children | f48456621a9d |
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"
16 compile_rules()
17 {
19 mkdir -p $install/usr/share/applications
20 mkdir -p $install/usr/share/pixmaps
21 mkdir -p $install/usr/lib/webian-shell
23 cp -a $src/xulrunner/chrome/icons/default/default32.png $install/usr/share/pixmaps/webian-shell.png
24 cp -a $src/* $install/usr/lib/webian-shell
26 }
28 genpkg_rules()
29 {
31 cat > $install/usr/share/applications/webian-shell.desktop <<EOT
32 [Desktop Entry]
33 Type=Application
34 Name=Webian Shell
35 Comment=A full screen web browser.
36 Exec=webian-shell
37 Icon=webian-shell
38 Categories=Network;WebBrowser;
39 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
40 EOT
42 cp -a $install/* $fs
44 }
46 post_install()
47 {
48 ln -s /usr/lib/webian-shell/Webian\ Shell $1/usr/bin/webian-shell
49 }
51 post_remove()
52 {
53 rm -rf $1/usr/bin/webian-shell
54 }