get-scripts view palemoon @ rev 66

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