wok-6.x view webian-shell/receipt @ rev 21350
amule: add debian libupnp1.8.patch
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Apr 20 15:44:26 2019 -0400 (2019-04-20) |
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 }