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
PRGNAM=PaleMoon
VERSION=${VERSION:-26.5.0}
VERSION=${VERSION:-27.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -118,9 +118,10 @@ PATH=$TMP/autoconf-tmp/usr/bin:$PATH
# Build palemoon
cd $TMP
rm -rf Pale-Moon-${VERSION}_Release
tar xzvf $CWD/${VERSION}_Release.tar.gz || tar xzvf $CWD/Pale-Moon-${VERSION}_Release.tar.gz
cd Pale-Moon-${VERSION}_Release
SRCNAM=Pale-Moon-${VERSION}_Release
rm -rf $SRCNAM
tar xzvf $CWD/$SRCNAM.tar.gz
cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -133,8 +134,6 @@ chown -R root:root .
if [ "$LIBDIRSUFFIX" = "64" ]; then
sed -i 's:/usr/lib/mozilla/plugins:/usr/lib64/mozilla/plugins:g' \
xpcom/io/nsAppFileLocationProvider.cpp
else
echo "Oh, we're on a 32 bit system, nothing to do here!"
fi
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
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
@ -207,6 +203,7 @@ sed "s|@VERSION@|$VERSION|" $CWD/$PRGNAM.desktop \
> $PKG/usr/share/applications/$PRGNAM.desktop
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
mkdir -p $PKG/install

View file

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