wok view get-palemoon/stuff/get-palemoon @ rev 16727

Add hp15c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 03 00:22:55 2014 +0200 (2014-06-03)
parents
children 464ffaf75bab
line source
1 #!/bin/sh
2 # get Pale Moon web browser
3 VERSION="24.5.0"
5 WGET_URL=http://sourceforge.net/projects/pm4linux/files/$VERSION/\
6 palemoon-$VERSION.en-US.linux-i686.tar.bz2
7 mkdir -p $1/opt; cd $1/opt; busybox wget -O - $WGET_URL | tar -xjf -
9 ################
10 DESKTOP=usr/share/applications/palemoon.desktop
11 cat > $1/$DESKTOP << EOA
12 [Desktop Entry]
13 Type=Application
14 Name=Palemoon
15 Exec=/opt/palemoon/palemoon %u
16 Icon=/opt/palemoon/browser/icons/mozicon128.png
17 StartupNotify=true
18 Categories=GTK;Network;WebBrowser;
19 MimeType=text/html;text/xml;application/xhtml+xml;application/xml;
20 EOA
21 ################
22 PKGDIR="$1/var/lib/tazpkg/installed/palemoon"
23 mkdir -p "$PKGDIR"
24 cat > "$PKGDIR/receipt" << EOR
25 # SliTaz package receipt.
27 PACKED_SIZE="28.8MB"
28 UNPACKED_SIZE="60.9MB"
29 PACKAGE="palemoon"
30 VERSION="$VERSION"
31 CATEGORY="network"
32 SHORT_DESC="Browser based on Firefox that's optimised for performance"
33 MAINTAINER="al.bobylev@gmail.com"
34 LICENSE="MPL2"
35 WEB_SITE="http://sourceforge.net/projects/pm4linux"
37 DEPENDS="dbus-glib"
38 EOR
39 ################
40 cat > "$PKGDIR/description.txt" << EOD
41 Description
42 ===========
44 Pale Moon is an open source, web browser based on Firefox focusing on efficiency
45 by leaving out unnecessary features and making optimizations, while maintaining
46 compatibility with Firefox extensions and themes.
48 Pale Moon provides a familiar set of controls and visual feedback similar
49 to previous versions of Firefox, including grouped navigation buttons,
50 a bookmarks toolbar that is enabled by default, tabs next to page content
51 by default, and a functional status bar.
53 This is a third party build; the original project is at www.palemoon.org.
54 For support, check out the wiki at http://pm4linux.sf.net/wiki and the forum
55 at http://forum.palemoon.org.
58 Features
59 ========
60 * Optimized for modern processors (SSE2)
61 * Based on the source code of Firefox
62 * Unnecessary bloat (social API, accessibility features, WebRTC) removed
63 * Support for Firefox extensions (add-ons) and themes
64 * More customization and configuration options than Firefox
65 EOD
66 ################
67 find $1/opt/palemoon -type f > "$PKGDIR/files.list"
68 echo "/$DESKTOP" >> "$PKGDIR/files.list"
69 ################
70 find $1/opt/palemoon -type f -exec md5sum \{\} \; > "$PKGDIR/md5sum"
71 md5sum "/$DESKTOP" >> "$PKGDIR/md5sum"
72 ################