get-scripts view palemoon @ rev 59

Add kiwix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 23 12:17:06 2016 +0200 (2016-07-23)
parents 5d357cb2f906
children 62d94e6800db
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 ] ||
19 abort_package "Could not download $TARBALL from $URL. Exiting."
21 DESKTOP=$PACKAGE-$VERSION/fs/usr/share/applications/palemoon.desktop
22 mkdir -p $(dirname $DESKTOP)
23 cat > $DESKTOP << EOA
24 [Desktop Entry]
25 Type=Application
26 Name=Palemoon
27 Exec=/opt/palemoon/palemoon %u
28 Icon=/opt/palemoon/browser/icons/mozicon128.png
29 StartupNotify=true
30 Categories=GTK;Network;WebBrowser;
31 MimeType=text/html;text/xml;application/xhtml+xml;application/xml;
32 EOA
34 cat > $PACKAGE-$VERSION/description.txt << EOD
35 Description
36 ===========
38 Pale Moon is an open source, web browser based on Firefox focusing on efficiency
39 by leaving out unnecessary features and making optimizations, while maintaining
40 compatibility with Firefox extensions and themes.
42 Pale Moon provides a familiar set of controls and visual feedback similar
43 to previous versions of Firefox, including grouped navigation buttons,
44 a bookmarks toolbar that is enabled by default, tabs next to page content
45 by default, and a functional status bar.
47 This is a third party build; the original project is at www.palemoon.org.
48 For support, check out the wiki at http://pm4linux.sf.net/wiki and the forum
49 at http://forum.palemoon.org.
52 Features
53 ========
54 * Optimized for modern processors (SSE2)
55 * Based on the source code of Firefox
56 * Unnecessary bloat (social API, accessibility features, WebRTC) removed
57 * Support for Firefox extensions (add-ons) and themes
58 * More customization and configuration options than Firefox
59 EOD