diff options
Diffstat (limited to 'network/session/session.SlackBuild')
-rw-r--r-- | network/session/session.SlackBuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/network/session/session.SlackBuild b/network/session/session.SlackBuild index eb0e7644e6e17..3d57404d2e0ea 100644 --- a/network/session/session.SlackBuild +++ b/network/session/session.SlackBuild @@ -1,5 +1,4 @@ #!/bin/bash - # Slackware build script for Session Messenger # Copyright 2023 Slackjeff <slackjeff@riseup.net> @@ -22,10 +21,18 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +######################################################################### +# ChangeLog +# +# IMPORTANT: update this if you change this script!) +######################################################################### +# 2.0 04-JULY-2023 UPGRADE (Version: 1.10.8) + + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=session -VERSION=${VERSION:-1.10.3} +VERSION=${VERSION:-1.10.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -54,6 +61,7 @@ mkdir -p $PKG/install mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/share/$PRGNAM-$VERSION mkdir -p $PKG/usr/share/applications +mkdir -p $PKG/usr/share/pixmaps mkdir -p $PKG/usr/bin mkdir -p $PKG/opt @@ -61,11 +69,15 @@ cd $PKG/opt install -m 0755 $CWD/$APPIMGNAM . ./$APPIMGNAM --appimage-extract mv squashfs-root $PRGNAM-$VERSION +rm -f $APPIMGNAM chown -R root:root . find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + +ln -s "/opt/$PRGNAM-$VERSION/session-desktop-bin" "$PKG/usr/bin/${PRGNAM}-desktop" +ln -s "/opt/$PRGNAM-$VERSION/session-desktop.png" "$PKG/usr/share/pixmaps/$PRGNAM-desktop.png" + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README cat $CWD/slack-desc > $PKG/install/slack-desc |