diff options
Diffstat (limited to 'audio/specimen')
-rw-r--r-- | audio/specimen/doinst.sh | 3 | ||||
-rw-r--r-- | audio/specimen/specimen.SlackBuild | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/audio/specimen/doinst.sh b/audio/specimen/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/audio/specimen/doinst.sh @@ -0,0 +1,3 @@ +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/audio/specimen/specimen.SlackBuild b/audio/specimen/specimen.SlackBuild index 86bb01d575..a0d20c65e1 100644 --- a/audio/specimen/specimen.SlackBuild +++ b/audio/specimen/specimen.SlackBuild @@ -20,15 +20,13 @@ PRGNAM=specimen VERSION=${VERSION:-0.5.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -83,7 +81,7 @@ cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ 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:-tgz} - |