get-scripts view palemoon @ rev 31

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