wok-next rev 16688

Add: get-palemoon
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 23 03:17:41 2014 +0300 (2014-05-23)
parents 4c85e6cbb92d
children 1a8ac6e91369
files get-palemoon/receipt get-palemoon/stuff/get-palemoon
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/get-palemoon/receipt	Fri May 23 03:17:41 2014 +0300
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="get-palemoon"
     1.7 +VERSION="24.5.0"
     1.8 +CATEGORY="non-free"
     1.9 +SHORT_DESC="Browser based on Firefox that's optimised for performance"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://www.palemoon.org/"
    1.13 +TAGS="browser"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/bin
    1.19 +	cp -a $stuff/$PACKAGE $fs/usr/bin
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/get-palemoon/stuff/get-palemoon	Fri May 23 03:17:41 2014 +0300
     2.3 @@ -0,0 +1,72 @@
     2.4 +#!/bin/sh
     2.5 +# get Pale Moon web browser
     2.6 +VERSION="24.5.0"
     2.7 +
     2.8 +WGET_URL=http://sourceforge.net/projects/pm4linux/files/$VERSION/\
     2.9 +palemoon-$VERSION.en-US.linux-i686.tar.bz2
    2.10 +mkdir -p $1/opt; cd $1/opt; busybox wget -O - $WGET_URL | tar -xjf -
    2.11 +
    2.12 +################
    2.13 +DESKTOP=usr/share/applications/palemoon.desktop
    2.14 +cat > $1/$DESKTOP << EOA
    2.15 +[Desktop Entry]
    2.16 +Type=Application
    2.17 +Name=Palemoon
    2.18 +Exec=/opt/palemoon/palemoon %u
    2.19 +Icon=/opt/palemoon/browser/icons/mozicon128.png
    2.20 +StartupNotify=true
    2.21 +Categories=GTK;Network;WebBrowser;
    2.22 +MimeType=text/html;text/xml;application/xhtml+xml;application/xml;
    2.23 +EOA
    2.24 +################
    2.25 +PKGDIR="$1/var/lib/tazpkg/installed/palemoon"
    2.26 +mkdir -p "$PKGDIR"
    2.27 +cat > "$PKGDIR/receipt" << EOR
    2.28 +# SliTaz package receipt.
    2.29 +
    2.30 +PACKED_SIZE="28.8MB"
    2.31 +UNPACKED_SIZE="60.9MB"
    2.32 +PACKAGE="palemoon"
    2.33 +VERSION="$VERSION"
    2.34 +CATEGORY="network"
    2.35 +SHORT_DESC="Browser based on Firefox that's optimised for performance"
    2.36 +MAINTAINER="al.bobylev@gmail.com"
    2.37 +LICENSE="MPL2"
    2.38 +WEB_SITE="http://sourceforge.net/projects/pm4linux"
    2.39 +
    2.40 +DEPENDS="dbus-glib"
    2.41 +EOR
    2.42 +################
    2.43 +cat > "$PKGDIR/description.txt" << EOD
    2.44 +Description
    2.45 +===========
    2.46 +
    2.47 +Pale Moon is an open source, web browser based on Firefox focusing on efficiency
    2.48 +by leaving out unnecessary features and making optimizations, while maintaining
    2.49 +compatibility with Firefox extensions and themes.
    2.50 +
    2.51 +Pale Moon provides a familiar set of controls and visual feedback similar
    2.52 +to previous versions of Firefox, including grouped navigation buttons,
    2.53 +a bookmarks toolbar that is enabled by default, tabs next to page content
    2.54 +by default, and a functional status bar.
    2.55 +
    2.56 +This is a third party build; the original project is at www.palemoon.org.
    2.57 +For support, check out the wiki at http://pm4linux.sf.net/wiki and the forum
    2.58 +at http://forum.palemoon.org.
    2.59 +
    2.60 +
    2.61 +Features
    2.62 +========
    2.63 +  * Optimized for modern processors (SSE2)
    2.64 +  * Based on the source code of Firefox
    2.65 +  * Unnecessary bloat (social API, accessibility features, WebRTC) removed
    2.66 +  * Support for Firefox extensions (add-ons) and themes
    2.67 +  * More customization and configuration options than Firefox
    2.68 +EOD
    2.69 +################
    2.70 +find $1/opt/palemoon -type f > "$PKGDIR/files.list"
    2.71 +echo "/$DESKTOP" >> "$PKGDIR/files.list"
    2.72 +################
    2.73 +find $1/opt/palemoon -type f -exec md5sum \{\} \; > "$PKGDIR/md5sum"
    2.74 +md5sum "/$DESKTOP" >> "$PKGDIR/md5sum"
    2.75 +################