get-scripts annotate palemoon @ rev 69
palemoon: fix VERSION
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 16 02:55:30 2017 -0400 (2017-06-16) |
parents | 62d94e6800db |
children | ebbc906a623e |
rev | line source |
---|---|
pascal@34 | 1 SHORT_DESC="Browser based on Firefox that's optimised for performance." |
pascal@34 | 2 WEB_SITE="http://www.palemoon.org/" |
pascal@40 | 3 CATEGORY="network" |
pascal@40 | 4 LICENSE="MPL2" |
pascal@34 | 5 # end of get.list data |
pascal@52 | 6 URL="http://linux.palemoon.org" |
pascal@52 | 7 WGET_URL="$URL$(wget -O - $URL/download/mainline/ | \ |
pascal@52 | 8 sed '/i686/!d;s|.*href="\([^"]*\).*|\1|;q')" |
mojo@69 | 9 VERSION="$(echo "$WGET_URL" | sed 's|.*-\([0-9\.]*\)\..*|\1|')" |
pascal@52 | 10 TARBALL="$(echo "$WGET_URL" | sed 's|.*/||')" |
pascal@42 | 11 MAINTAINER="al.bobylev@gmail.com" |
pascal@45 | 12 [ "$1" == "--get-version" ] && echo $VERSION && exit |
pascal@17 | 13 TAGS="browser" |
pascal@17 | 14 DEPENDS="dbus-glib" |
pascal@17 | 15 |
pascal@17 | 16 mkdir -p $PACKAGE-$VERSION/fs/opt |
pascal@17 | 17 busybox wget -O - $WGET_URL | tar -xjf - -C $PACKAGE-$VERSION/fs/opt |
pascal@63 | 18 [ -d $PACKAGE-$VERSION/fs/opt/palemoon ] || abort_package |
pascal@17 | 19 |
pascal@17 | 20 DESKTOP=$PACKAGE-$VERSION/fs/usr/share/applications/palemoon.desktop |
pascal@17 | 21 mkdir -p $(dirname $DESKTOP) |
pascal@17 | 22 cat > $DESKTOP << EOA |
pascal@17 | 23 [Desktop Entry] |
pascal@17 | 24 Type=Application |
pascal@17 | 25 Name=Palemoon |
pascal@17 | 26 Exec=/opt/palemoon/palemoon %u |
pascal@17 | 27 Icon=/opt/palemoon/browser/icons/mozicon128.png |
pascal@17 | 28 StartupNotify=true |
pascal@17 | 29 Categories=GTK;Network;WebBrowser; |
pascal@17 | 30 MimeType=text/html;text/xml;application/xhtml+xml;application/xml; |
pascal@17 | 31 EOA |
pascal@17 | 32 |
pascal@17 | 33 cat > $PACKAGE-$VERSION/description.txt << EOD |
pascal@17 | 34 Description |
pascal@17 | 35 =========== |
pascal@17 | 36 |
pascal@17 | 37 Pale Moon is an open source, web browser based on Firefox focusing on efficiency |
pascal@17 | 38 by leaving out unnecessary features and making optimizations, while maintaining |
pascal@17 | 39 compatibility with Firefox extensions and themes. |
pascal@17 | 40 |
pascal@17 | 41 Pale Moon provides a familiar set of controls and visual feedback similar |
pascal@17 | 42 to previous versions of Firefox, including grouped navigation buttons, |
pascal@17 | 43 a bookmarks toolbar that is enabled by default, tabs next to page content |
pascal@17 | 44 by default, and a functional status bar. |
pascal@17 | 45 |
pascal@17 | 46 This is a third party build; the original project is at www.palemoon.org. |
pascal@17 | 47 For support, check out the wiki at http://pm4linux.sf.net/wiki and the forum |
pascal@17 | 48 at http://forum.palemoon.org. |
pascal@17 | 49 |
pascal@17 | 50 |
pascal@17 | 51 Features |
pascal@17 | 52 ======== |
pascal@17 | 53 * Optimized for modern processors (SSE2) |
pascal@17 | 54 * Based on the source code of Firefox |
pascal@17 | 55 * Unnecessary bloat (social API, accessibility features, WebRTC) removed |
pascal@17 | 56 * Support for Firefox extensions (add-ons) and themes |
pascal@17 | 57 * More customization and configuration options than Firefox |
pascal@17 | 58 EOD |