summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhronosschoty <khronosschoty@utmail.net>2016-11-30 23:42:49 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-03 07:17:45 +0700
commitfd112df8a4cbae8bb755bbd56a5f2afeadd8e8c6 (patch)
tree95df3dc12b1ff76d36cda3597f1c9128c3e98e2b
parent2d91f3cdabf96737521b75b59cebd73521dad12f (diff)
downloadslackbuilds-fd112df8a4cbae8bb755bbd56a5f2afeadd8e8c6.tar.gz
network/PaleMoon: Updated for version 27.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/PaleMoon/PaleMoon.SlackBuild19
-rw-r--r--network/PaleMoon/PaleMoon.info10
2 files changed, 13 insertions, 16 deletions
diff --git a/network/PaleMoon/PaleMoon.SlackBuild b/network/PaleMoon/PaleMoon.SlackBuild
index d7823cb0f7..6d9c13486a 100644
--- a/network/PaleMoon/PaleMoon.SlackBuild
+++ b/network/PaleMoon/PaleMoon.SlackBuild
@@ -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}
@@ -78,7 +78,7 @@ if [ "${ENABLE_DEBUG:-no}" = "yes" ]; then
export CXX="g++ -B$TMP/gold"
fi
fi
-
+
set -e
# 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
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 \
@@ -128,13 +129,11 @@ chown -R root:root .
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-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
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
diff --git a/network/PaleMoon/PaleMoon.info b/network/PaleMoon/PaleMoon.info
index 07517bdd1e..874ead0b2e 100644
--- a/network/PaleMoon/PaleMoon.info
+++ b/network/PaleMoon/PaleMoon.info
@@ -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=""