wok-next view webian-shell/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="webian-shell"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="A full screen web browser"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MPL2"
9 WEB_SITE="http://webian.org/shell/"
11 GITHUB="https://cloud.github.com/downloads"
12 TARBALL="${PACKAGE/-/_}_$VERSION-linux_32.tar.gz"
13 WGET_URL="$GITHUB/webianproject/shell/$TARBALL"
15 compile_rules() {
16 mkdir -p $install/usr/share/applications
17 mkdir -p $install/usr/share/pixmaps
18 mkdir -p $install/usr/lib/webian-shell
20 cp -a $src/xulrunner/chrome/icons/default/default32.png $install/usr/share/pixmaps/webian-shell.png
21 cp -a $src/* $install/usr/lib/webian-shell
22 }
24 genpkg_rules() {
25 install -Dm644 $stuff/webian-shell.desktop \
26 $install/usr/share/applications/webian-shell.desktop
27 cp -a $install/* $fs
28 DEPENDS="gtk2 nss"
29 }
31 post_install() {
32 ln -s /usr/lib/webian-shell/Webian\ Shell $1/usr/bin/webian-shell
33 }
35 post_remove() {
36 rm -rf $1/usr/bin/webian-shell
37 }