summaryrefslogtreecommitdiff
path: root/network/PaleMoon/PaleMoon.SlackBuild
diff options
context:
space:
mode:
authorkhronosschoty <khronosschoty@posteo.org>2017-11-28 22:46:43 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-02 06:31:03 +0700
commit8ef3d705116196150aa252d5c8a6a773b99f3b04 (patch)
tree260cd02da128c11497464c9516fb33ecb700cd87 /network/PaleMoon/PaleMoon.SlackBuild
parentc125cd1689ff624a635cf974ab318d4700146de9 (diff)
downloadslackbuilds-8ef3d705116196150aa252d5c8a6a773b99f3b04.tar.gz
network/PaleMoon: Updated for version 27.6.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/PaleMoon/PaleMoon.SlackBuild')
-rw-r--r--network/PaleMoon/PaleMoon.SlackBuild17
1 files changed, 15 insertions, 2 deletions
diff --git a/network/PaleMoon/PaleMoon.SlackBuild b/network/PaleMoon/PaleMoon.SlackBuild
index 7810bc0636..0570a0f06d 100644
--- a/network/PaleMoon/PaleMoon.SlackBuild
+++ b/network/PaleMoon/PaleMoon.SlackBuild
@@ -25,7 +25,7 @@
# Modified by SlackBuilds.org
PRGNAM=PaleMoon
-VERSION=${VERSION:-27.6.1}
+VERSION=${VERSION:-27.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +60,19 @@ else
LIBDIRSUFFIX=""
fi
+# The default is to build with official branding. This SlackBuild is used to
+# produce officially approved third party "contributed builds" of Pale Moon.
+# This SlackBuild can also be used to produce unapproved packages -- which
+# requires the use of the "new moon", or if applicable, "unstable" branding.
+# In general, the "unstable" branding is intended for those building from the
+# master trunck of the Pale Moon github repository.
+BRANDING=${BRANDING:---enable-official-branding}
+if [ "$BRANDING" = "NewMoon" ]; then
+ BRANDING="--disable-official-branding --with-branding=browser/branding/unofficial"
+elif [ "$BRANDING" = "unstable" ]; then
+ BRANDING="--disable-official-branding --with-branding=browser/branding/unstable"
+fi
+
# Set the compiler that will be used. The ideal compiler for
# PaleMoon is most likely gcc-4.9.4.
#
@@ -179,7 +192,7 @@ fi
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
# Our building options, in a configure-like display ;)
OPTIONS="\
- --enable-official-branding \
+ ${BRANDING} \
--enable-application=browser \
--enable-default-toolkit=cairo-gtk2 \
--disable-installer \