diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-18 15:44:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-18 15:44:35 +0700 |
commit | 340e72b73b8eb157262432a2605c70527d448042 (patch) | |
tree | 8f2aef00314826c35c630f2999990c2c7e1bc46a /graphics | |
parent | 2f1c0f28874da60772120c25779969da978e9da9 (diff) |
graphics/veles: Add doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/veles/doinst.sh | 4 | ||||
-rw-r--r-- | graphics/veles/veles.SlackBuild | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/graphics/veles/doinst.sh b/graphics/veles/doinst.sh new file mode 100644 index 0000000000000..4e8ba7071dea7 --- /dev/null +++ b/graphics/veles/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/graphics/veles/veles.SlackBuild b/graphics/veles/veles.SlackBuild index bcaf3c427aaeb..b1ae739760965 100644 --- a/graphics/veles/veles.SlackBuild +++ b/graphics/veles/veles.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=veles VERSION=${VERSION:-2018.05.0.TIF} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} 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 @@ -108,6 +105,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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 |