wok-next annotate webian-shell/receipt @ rev 21573

updated dansguardian (2.10.1.1 -> 2.12.0.3)
author Hans-G?nter Theisgen
date Mon Jun 22 17:38:17 2020 +0100 (2020-06-22)
parents f48456621a9d
children
rev   line source
al@21017 1 # SliTaz package receipt v2.
hackdorte@19038 2
hackdorte@19038 3 PACKAGE="webian-shell"
hackdorte@19038 4 VERSION="0.1"
hackdorte@19038 5 CATEGORY="network"
al@21017 6 SHORT_DESC="A full screen web browser"
al@21020 7 MAINTAINER="devel@slitaz.org"
hackdorte@19038 8 LICENSE="MPL2"
hackdorte@19038 9 WEB_SITE="http://webian.org/shell/"
al@21017 10
hackdorte@19039 11 GITHUB="https://cloud.github.com/downloads"
pascal@19041 12 TARBALL="${PACKAGE/-/_}_$VERSION-linux_32.tar.gz"
hackdorte@19038 13 WGET_URL="$GITHUB/webianproject/shell/$TARBALL"
hackdorte@19038 14
al@21017 15 compile_rules() {
al@21017 16 mkdir -p $install/usr/share/applications
al@21017 17 mkdir -p $install/usr/share/pixmaps
al@21017 18 mkdir -p $install/usr/lib/webian-shell
hackdorte@19038 19
al@21017 20 cp -a $src/xulrunner/chrome/icons/default/default32.png $install/usr/share/pixmaps/webian-shell.png
al@21017 21 cp -a $src/* $install/usr/lib/webian-shell
hackdorte@19038 22 }
hackdorte@19038 23
al@21017 24 genpkg_rules() {
al@21020 25 install -Dm644 $stuff/webian-shell.desktop \
al@21020 26 $install/usr/share/applications/webian-shell.desktop
al@21017 27 cp -a $install/* $fs
al@21020 28 DEPENDS="gtk2 nss"
hackdorte@19038 29 }
hackdorte@19038 30
al@21017 31 post_install() {
pascal@19041 32 ln -s /usr/lib/webian-shell/Webian\ Shell $1/usr/bin/webian-shell
hackdorte@19038 33 }
hackdorte@19038 34
al@21017 35 post_remove() {
pascal@19041 36 rm -rf $1/usr/bin/webian-shell
hackdorte@19038 37 }