mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +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
|
||||
VERSION=${VERSION:-27.0.3}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -122,7 +122,7 @@ 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
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue