network/PaleMoon: Updated for version 27.0.3.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
khronosschoty 2017-02-03 11:28:23 +00:00 committed by Willy Sudiarto Raharjo
parent e1f57ac186
commit a59ae9aaf8
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 19 additions and 10 deletions

View file

@ -26,7 +26,7 @@
PRGNAM=PaleMoon
VERSION=${VERSION:-27.0.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -233,6 +233,15 @@ ln -s /usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/browser/icons/mozicon128.png \
sed "s|@VERSION@|$VERSION|" $CWD/$PRGNAM.desktop \
> $PKG/usr/share/applications/$PRGNAM.desktop
# Set the correct exec path inside of the .desktop
if [ "$APPEND_VERSION_SUFFIX" = "yes" ]; then
sed -i 's|@APPEND_VERSION_SUFFIX@|-$VERSION|g' \
$PKG/usr/share/applications/$PRGNAM.desktop
else
sed -i 's|@APPEND_VERSION_SUFFIX@||g' \
$PKG/usr/share/applications/$PRGNAM.desktop
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -3,7 +3,7 @@ Version=1.0
Name=Pale Moon Web Browser
Comment=Browse the World Wide Web
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=palemoon-@VERSION@ %u
Exec=palemoon@APPEND_VERSION_SUFFIX@ %u
Terminal=false
X-MultipleArgs=false
Type=Application