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