get-scripts annotate palemoon @ rev 18

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