diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 21:32:31 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-30 20:01:04 -0500 |
commit | af11800446591e1ba4a27b49af483644b5b019c8 (patch) | |
tree | 1565a7798b0b604decbfcb5569f00d5c87ff1323 /multimedia | |
parent | 1ed107ac9e88d72db2fc21cccd18602800274c6b (diff) |
multimedia/DivFix++: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/DivFix++/DivFix++.SlackBuild | 9 | ||||
-rw-r--r-- | multimedia/DivFix++/doinst.sh | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/multimedia/DivFix++/DivFix++.SlackBuild b/multimedia/DivFix++/DivFix++.SlackBuild index 358e49f329e91..57780622b8c1d 100644 --- a/multimedia/DivFix++/DivFix++.SlackBuild +++ b/multimedia/DivFix++/DivFix++.SlackBuild @@ -24,15 +24,13 @@ PRGNAM=DivFix++ VERSION=${VERSION:-0.34} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -69,7 +67,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Compilation CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make || exit 1 @@ -78,17 +75,15 @@ make install DESTDIR=$PKG || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# DOCS cd $TMP/${PRGNAM}_v$VERSION/docs mkdir -p $PKG/usr/doc/${PRGNAM}_v$VERSION cp -a Change.log GPL.txt ReadMe.txt \ $PKG/usr/doc/${PRGNAM}_v$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/${PRGNAM}_v$VERSION/$PRGNAM.SlackBuild -# Package install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh -# Package creation cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/DivFix++/doinst.sh b/multimedia/DivFix++/doinst.sh new file mode 100644 index 0000000000000..4e8ba7071dea7 --- /dev/null +++ b/multimedia/DivFix++/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 + |