get-scripts annotate palemoon @ rev 47

firefox-official: fix paths
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 04 18:56:03 2015 +0200 (2015-06-04)
parents 8d1451892e94
children b8b02f41c739
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@18 6 URL=http://sourceforge.net/projects/pm4linux/files
pascal@42 7 MAINTAINER="al.bobylev@gmail.com"
pascal@18 8 VERSION="$(wget -O - $URL/ | sed \
pascal@18 9 '/projects\/pm4linux\/files\/[1-9]/!d;s|.*files/\([^/]*\)/.*|\1|;q')"
pascal@45 10 [ "$1" == "--get-version" ] && echo $VERSION && exit
pascal@17 11 TARBALL=$PACKAGE-$VERSION.en-US.linux-i686.tar.bz2
pascal@18 12 WGET_URL=$URL/$VERSION/$TARBALL
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@17 18 [ -d $PACKAGE-$VERSION/fs/opt/palemoon ] ||
pascal@17 19 abort_package "Could not download $TARBALL from $URL. Exiting."
pascal@17 20
pascal@17 21 DESKTOP=$PACKAGE-$VERSION/fs/usr/share/applications/palemoon.desktop
pascal@17 22 mkdir -p $(dirname $DESKTOP)
pascal@17 23 cat > $DESKTOP << EOA
pascal@17 24 [Desktop Entry]
pascal@17 25 Type=Application
pascal@17 26 Name=Palemoon
pascal@17 27 Exec=/opt/palemoon/palemoon %u
pascal@17 28 Icon=/opt/palemoon/browser/icons/mozicon128.png
pascal@17 29 StartupNotify=true
pascal@17 30 Categories=GTK;Network;WebBrowser;
pascal@17 31 MimeType=text/html;text/xml;application/xhtml+xml;application/xml;
pascal@17 32 EOA
pascal@17 33
pascal@17 34 cat > $PACKAGE-$VERSION/description.txt << EOD
pascal@17 35 Description
pascal@17 36 ===========
pascal@17 37
pascal@17 38 Pale Moon is an open source, web browser based on Firefox focusing on efficiency
pascal@17 39 by leaving out unnecessary features and making optimizations, while maintaining
pascal@17 40 compatibility with Firefox extensions and themes.
pascal@17 41
pascal@17 42 Pale Moon provides a familiar set of controls and visual feedback similar
pascal@17 43 to previous versions of Firefox, including grouped navigation buttons,
pascal@17 44 a bookmarks toolbar that is enabled by default, tabs next to page content
pascal@17 45 by default, and a functional status bar.
pascal@17 46
pascal@17 47 This is a third party build; the original project is at www.palemoon.org.
pascal@17 48 For support, check out the wiki at http://pm4linux.sf.net/wiki and the forum
pascal@17 49 at http://forum.palemoon.org.
pascal@17 50
pascal@17 51
pascal@17 52 Features
pascal@17 53 ========
pascal@17 54 * Optimized for modern processors (SSE2)
pascal@17 55 * Based on the source code of Firefox
pascal@17 56 * Unnecessary bloat (social API, accessibility features, WebRTC) removed
pascal@17 57 * Support for Firefox extensions (add-ons) and themes
pascal@17 58 * More customization and configuration options than Firefox
pascal@17 59 EOD