diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2024-07-23 08:17:04 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-23 23:40:15 +0700 |
commit | 467233c91dc69e74e11fcbe53e1da8e191b25884 (patch) | |
tree | c959ec9f2a518a2a8470bc4285201589323197f7 /misc | |
parent | 0ef6b248d8cc45e0a9bc25e75200198c10dfb57b (diff) |
misc/OSCAR: Updated for version 1.5.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/OSCAR/OSCAR.SlackBuild | 10 | ||||
-rw-r--r-- | misc/OSCAR/OSCAR.info | 6 | ||||
-rw-r--r-- | misc/OSCAR/doinst.sh | 10 |
3 files changed, 17 insertions, 9 deletions
diff --git a/misc/OSCAR/OSCAR.SlackBuild b/misc/OSCAR/OSCAR.SlackBuild index b446062187ad2..846cd9fa8a348 100644 --- a/misc/OSCAR/OSCAR.SlackBuild +++ b/misc/OSCAR/OSCAR.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for OSCAR -# Copyright 2019-2022 Zhu, Qun-Ying +# Copyright 2019-2024 Zhu, Qun-Ying # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OSCAR -VERSION=${VERSION:-1.5.1} +VERSION=${VERSION:-1.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -62,7 +59,7 @@ fi set -e -PRGSRC_NAME=$PRGNAM-code-v$VERSION +PRGSRC_NAME=$PRGNAM-code-$VERSION rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -93,6 +90,7 @@ cp -a build/oscar/Html $PKG/usr/share/$PRGNAM mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/misc/OSCAR/OSCAR.info b/misc/OSCAR/OSCAR.info index d550c49135ac6..d2a30ffb0c401 100644 --- a/misc/OSCAR/OSCAR.info +++ b/misc/OSCAR/OSCAR.info @@ -1,8 +1,8 @@ PRGNAM="OSCAR" -VERSION="1.5.1" +VERSION="1.5.3" HOMEPAGE="https://www.sleepfiles.com/OSCAR/" -DOWNLOAD="https://gitlab.com/pholy/OSCAR-code/-/archive/v1.5.1/OSCAR-code-v1.5.1.tar.bz2" -MD5SUM="f18116b475961618464c05079f333ba6" +DOWNLOAD="https://gitlab.com/pholy/OSCAR-code/-/archive/1.5.3/OSCAR-code-1.5.3.tar.bz2" +MD5SUM="d35888c44c9ec170657943c0d31709d3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/misc/OSCAR/doinst.sh b/misc/OSCAR/doinst.sh new file mode 100644 index 0000000000000..98a8e99da0dcf --- /dev/null +++ b/misc/OSCAR/doinst.sh @@ -0,0 +1,10 @@ +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + |