diff options
Diffstat (limited to 'multimedia/tovid')
-rw-r--r-- | multimedia/tovid/doinst.sh | 10 | ||||
-rw-r--r-- | multimedia/tovid/tovid.SlackBuild | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/tovid/doinst.sh b/multimedia/tovid/doinst.sh new file mode 100644 index 0000000000000..1f8ff67dedb29 --- /dev/null +++ b/multimedia/tovid/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/multimedia/tovid/tovid.SlackBuild b/multimedia/tovid/tovid.SlackBuild index 05246302e0d62..4d7363240bb60 100644 --- a/multimedia/tovid/tovid.SlackBuild +++ b/multimedia/tovid/tovid.SlackBuild @@ -17,7 +17,7 @@ PRGNAM=tovid VERSION=0.31 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -86,6 +86,7 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README SENSE \ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |