network/palemoon: Updated for version 27.2.1 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
skaendo 2017-04-16 23:07:17 +07:00 committed by Willy Sudiarto Raharjo
parent 03d50eab09
commit b085bf1300
4 changed files with 35 additions and 29 deletions

View File

@ -1,8 +1,9 @@
Pale Moon is a fork of pre-Australis Mozilla Firefox aiming to be fast,
efficient and easy to use.
Pale Moon is an Open Source, Goanna-based web browser forked from
pre-Australis Mozilla Firefox aiming to be fast, efficient and easy to
use.
This SlackBuild just installs a binary package provided by the project. It
doesn't attempt to build the browser from source.
This SlackBuild just repackages the binary package provided by the project.
It doesn't attempt to build the browser from source.
You can force Pale Moon to use system-provided hunspell instead of its own
dictionary by passing the USE_SYSTEM_SPELLCHECK=yes variable to the script.

View File

@ -3,6 +3,7 @@
# Slackware build script for palemoon
# Copyright 2015 pomfland
# Copyright 2017 skaendo <skaendo at excite dot com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=palemoon
VERSION=${VERSION:-25.8.1}
VERSION=${VERSION:-27.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -40,15 +41,15 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# we don't need cflags since nothing is being compiled here.
# we do need to check the architecture though and abort when it's not
# We don't need cflags since nothing is being compiled here.
# We do need to check the architecture though and abort when it's not
# supported.
if [ ! "$ARCH" = "i686" ] && [ ! "$ARCH" = "x86_64" ]; then
echo "Sorry, binary packages are available only for i686 and x86_64. Aborting."
exit 1
fi
# check for sse2 flag and abort if not found
# Check for sse2 flag and abort if not found
[[ $(cat /proc/cpuinfo|grep sse2) ]] || {
echo "No required SSE2 support detected. Aborting."
exit 1; }
@ -67,31 +68,35 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# use system hunspell if user wants it
# Use system hunspell if user wants it
if [[ $USE_SYSTEM_SPELLCHECK == "yes" ]]; then
rm -rf palemoon/dictionaries
ln -sv /usr/share/hunspell palemoon/dictionaries
fi
# create directories
# Create directories
mkdir -p $PKG/opt
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,128x128}/apps
mkdir -p $PKG/usr/share/applications
# install pale moon into /opt
# Install pale moon into /opt
cp -vr palemoon $PKG/opt
# link stuff
# Link stuff
## binary
ln -s /opt/palemoon/palemoon $PKG/usr/bin/palemoon
## icons
ln -s /opt/palemoon/browser/chrome/icons/default/default16.png $PKG/usr/share/icons/hicolor/16x16/apps/palemoon.png
ln -s /opt/palemoon/browser/chrome/icons/default/default32.png $PKG/usr/share/icons/hicolor/32x32/apps/palemoon.png
ln -s /opt/palemoon/browser/chrome/icons/default/default48.png $PKG/usr/share/icons/hicolor/48x48/apps/palemoon.png
ln -s /opt/palemoon/browser/icons/mozicon128.png $PKG/usr/share/icons/hicolor/128x128/apps/palemoon.png
ln -s /opt/palemoon/browser/chrome/icons/default/default16.png \
$PKG/usr/share/icons/hicolor/16x16/apps/palemoon.png
ln -s /opt/palemoon/browser/chrome/icons/default/default32.png \
$PKG/usr/share/icons/hicolor/32x32/apps/palemoon.png
ln -s /opt/palemoon/browser/chrome/icons/default/default48.png \
$PKG/usr/share/icons/hicolor/48x48/apps/palemoon.png
ln -s /opt/palemoon/browser/icons/mozicon128.png \
$PKG/usr/share/icons/hicolor/128x128/apps/palemoon.png
# install .desktop file
# Install .desktop file
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -1,10 +1,10 @@
PRGNAM="palemoon"
VERSION="25.8.1"
HOMEPAGE="http://www.palemoon.org/"
DOWNLOAD="http://linux.palemoon.org/files/25.8.1/palemoon-25.8.1.en-US.linux-i686.tar.bz2"
MD5SUM="0214e11aff49a4bd84cd1adcf4bbe1ce"
DOWNLOAD_x86_64="http://linux.palemoon.org/files/25.8.1/palemoon-25.8.1.en-US.linux-x86_64.tar.bz2"
MD5SUM_x86_64="fcd7fdf3e91c77cdfafdbfec6582a7e8"
VERSION="27.2.1"
HOMEPAGE="https://www.palemoon.org/"
DOWNLOAD="http://linux.palemoon.org/datastore/release/palemoon-27.2.1.en-US.linux-i686.tar.bz2"
MD5SUM="a8bf3e7235d54bb56cfcb273db9ad607"
DOWNLOAD_x86_64="http://linux.palemoon.org/datastore/release/palemoon-27.2.1.en-US.linux-x86_64.tar.bz2"
MD5SUM_x86_64="feb8bcb3d353265b58da4adfb236f42c"
REQUIRES=""
MAINTAINER="pomfland"
EMAIL="pomfland@tfwno.gf"
MAINTAINER="skaendo"
EMAIL="skaendo@excite.com"

View File

@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
palemoon: palemoon (Web browser)
palemoon:
palemoon: Pale Moon is a fork of pre-Australis Mozilla Firefox aiming to be
palemoon: fast, efficient and easy to use.
palemoon:
palemoon: Homepage: http://www.palemoon.org/
palemoon: Pale Moon is an Open Source, Goanna-based web browser forked from
palemoon: pre-Australis Mozilla Firefox aiming to be fast, efficient and easy
palemoon: to use.
palemoon:
palemoon:
palemoon:
palemoon:
palemoon: Homepage: https://www.palemoon.org/
palemoon: