network/PaleMoon: Updated for version 27.0.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
khronosschoty 2016-11-30 23:42:49 +00:00 committed by Willy Sudiarto Raharjo
parent 2d91f3cdab
commit fd112df8a4
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 13 additions and 16 deletions

View file

@ -25,7 +25,7 @@
# Modified by SlackBuilds.org # Modified by SlackBuilds.org
PRGNAM=PaleMoon PRGNAM=PaleMoon
VERSION=${VERSION:-26.5.0} VERSION=${VERSION:-27.0.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -78,7 +78,7 @@ if [ "${ENABLE_DEBUG:-no}" = "yes" ]; then
export CXX="g++ -B$TMP/gold" export CXX="g++ -B$TMP/gold"
fi fi
fi fi
set -e set -e
# We need to use the incredibly ancient autoconf-2.13 for this :/ # We need to use the incredibly ancient autoconf-2.13 for this :/
@ -118,9 +118,10 @@ PATH=$TMP/autoconf-tmp/usr/bin:$PATH
# Build palemoon # Build palemoon
cd $TMP cd $TMP
rm -rf Pale-Moon-${VERSION}_Release SRCNAM=Pale-Moon-${VERSION}_Release
tar xzvf $CWD/${VERSION}_Release.tar.gz || tar xzvf $CWD/Pale-Moon-${VERSION}_Release.tar.gz rm -rf $SRCNAM
cd Pale-Moon-${VERSION}_Release tar xzvf $CWD/$SRCNAM.tar.gz
cd $SRCNAM
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -128,13 +129,11 @@ chown -R root:root .
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Crude hack so that /usr/lib/mozilla/plugins points to # Crude hack so that /usr/lib/mozilla/plugins points to
# /usr/lib64/mozilla/plugins on 64 bit systems # /usr/lib64/mozilla/plugins on 64 bit systems
if [ "$LIBDIRSUFFIX" = "64" ]; then if [ "$LIBDIRSUFFIX" = "64" ]; then
sed -i 's:/usr/lib/mozilla/plugins:/usr/lib64/mozilla/plugins:g' \ sed -i 's:/usr/lib/mozilla/plugins:/usr/lib64/mozilla/plugins:g' \
xpcom/io/nsAppFileLocationProvider.cpp xpcom/io/nsAppFileLocationProvider.cpp
else
echo "Oh, we're on a 32 bit system, nothing to do here!"
fi fi
export MOZBUILD_STATE_PATH="$TMP/Pale-Moon-${VERSION}_Release/moz.build" export MOZBUILD_STATE_PATH="$TMP/Pale-Moon-${VERSION}_Release/moz.build"
@ -170,9 +169,6 @@ echo "mk_add_options MOZ_OBJDIR=$TMP/pmbuild" >> .mozconfig
for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done
echo "ac_add_options --enable-optimize=\"$OPTIMIZE\"" >> .mozconfig echo "ac_add_options --enable-optimize=\"$OPTIMIZE\"" >> .mozconfig
if ! pkg-config --exists libpulse; then
echo "ac_add_options --disable-pulseaudio" >> .mozconfig; fi
python2 mach build || echo "Next =>" python2 mach build || echo "Next =>"
python2 mach build python2 mach build
@ -207,6 +203,7 @@ sed "s|@VERSION@|$VERSION|" $CWD/$PRGNAM.desktop \
> $PKG/usr/share/applications/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $TMP/$SRCNAM/{AUTHORS,LICENSE,README.md} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,11 +1,11 @@
PRGNAM="PaleMoon" PRGNAM="PaleMoon"
VERSION="26.5.0" VERSION="27.0.1"
HOMEPAGE="http://www.palemoon.org/" HOMEPAGE="http://www.palemoon.org/"
DOWNLOAD="https://github.com/MoonchildProductions/Pale-Moon/archive/26.5.0_Release.tar.gz \ DOWNLOAD="https://github.com/MoonchildProductions/Pale-Moon/archive/27.0.1_Release/PaleMoon-27.0.1_Release.tar.gz \
http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz \
http://ponce.cc/slackware/sources/repo/autoconf-2.13-consolidated_fixes-1.patch.gz" http://ponce.cc/slackware/sources/repo/autoconf-2.13-consolidated_fixes-1.patch.gz"
MD5SUM="5556f1a1d668a0d1d71387a6e66b53ca \ MD5SUM="5df3c088e61a9686c96984a3773b381b \
f2994d302cf736e7e71974edfa51da3c \ f2994d302cf736e7e71974edfa51da3c \
d6cdb231911a8d0b08a25b8dd8c5935c" d6cdb231911a8d0b08a25b8dd8c5935c"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""