wok annotate webian-shell/receipt @ rev 25004

updated ntfs-3g and ntfs-3g-dev (2017.3.23 -> 2021.8.22)
author Hans-G?nter Theisgen
date Mon May 16 16:20:40 2022 +0100 (2022-05-16)
parents cb67b4f8be05
children df63c4ce07f8
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"
pascal@24746 9 WEB_SITE="https://webian.org/shell/"
pascal@19041 10 TARBALL="${PACKAGE/-/_}_$VERSION-linux_32.tar.gz"
pascal@24979 11 WGET_URL="https://github.com/downloadswebianproject/shell/$TARBALL"
hackdorte@19038 12
hackdorte@19038 13 DEPENDS="gtk+ nss"
pascal@19042 14 BUILD_DEPENDS="wget"
hackdorte@19038 15
pascal@24304 16 # What is the latest version available today?
pascal@24304 17 current_version()
pascal@24304 18 {
pascal@24304 19 wget -O - https://github.com/webianproject/shell/tags 2>/dev/null | \
pascal@24304 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24304 21 }
pascal@24304 22
hackdorte@19038 23 compile_rules()
hackdorte@19038 24 {
hackdorte@19038 25
hackdorte@19038 26 mkdir -p $install/usr/share/applications
hackdorte@19038 27 mkdir -p $install/usr/share/pixmaps
hackdorte@19038 28 mkdir -p $install/usr/lib/webian-shell
hackdorte@19038 29
hackdorte@19038 30 cp -a $src/xulrunner/chrome/icons/default/default32.png $install/usr/share/pixmaps/webian-shell.png
hackdorte@19038 31 cp -a $src/* $install/usr/lib/webian-shell
hackdorte@19038 32
hackdorte@19038 33 }
hackdorte@19038 34
hackdorte@19038 35 genpkg_rules()
hackdorte@19038 36 {
hackdorte@19038 37
hackdorte@19038 38 cat > $install/usr/share/applications/webian-shell.desktop <<EOT
hackdorte@19038 39 [Desktop Entry]
hackdorte@19038 40 Type=Application
hackdorte@19038 41 Name=Webian Shell
hackdorte@19038 42 Comment=A full screen web browser.
hackdorte@19038 43 Exec=webian-shell
hackdorte@19038 44 Icon=webian-shell
hackdorte@19038 45 Categories=Network;WebBrowser;
hackdorte@19038 46 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 47 EOT
hackdorte@19038 48
hackdorte@19038 49 cp -a $install/* $fs
hackdorte@19038 50
hackdorte@19038 51 }
hackdorte@19038 52
hackdorte@19038 53 post_install()
hackdorte@19038 54 {
pascal@19041 55 ln -s /usr/lib/webian-shell/Webian\ Shell $1/usr/bin/webian-shell
hackdorte@19038 56 }
hackdorte@19038 57
hackdorte@19038 58 post_remove()
hackdorte@19038 59 {
pascal@19041 60 rm -rf $1/usr/bin/webian-shell
hackdorte@19038 61 }