mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/PaleMoon: Updated for version 27.0.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
e1f57ac186
commit
a59ae9aaf8
2 changed files with 19 additions and 10 deletions
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
PRGNAM=PaleMoon
|
PRGNAM=PaleMoon
|
||||||
VERSION=${VERSION:-27.0.3}
|
VERSION=${VERSION:-27.0.3}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
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 \
|
sed "s|@VERSION@|$VERSION|" $CWD/$PRGNAM.desktop \
|
||||||
> $PKG/usr/share/applications/$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
|
mkdir -p $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
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ Version=1.0
|
||||||
Name=Pale Moon Web Browser
|
Name=Pale Moon Web Browser
|
||||||
Comment=Browse the World Wide Web
|
Comment=Browse the World Wide Web
|
||||||
Keywords=Internet;WWW;Browser;Web;Explorer
|
Keywords=Internet;WWW;Browser;Web;Explorer
|
||||||
Exec=palemoon-@VERSION@ %u
|
Exec=palemoon@APPEND_VERSION_SUFFIX@ %u
|
||||||
Terminal=false
|
Terminal=false
|
||||||
X-MultipleArgs=false
|
X-MultipleArgs=false
|
||||||
Type=Application
|
Type=Application
|
||||||
|
|
Loading…
Reference in a new issue