diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 23:51:38 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-30 20:01:05 -0500 |
commit | 95e82341444365f75051a85789c205207446d609 (patch) | |
tree | 31af47e975dfc038c1578fe3049d554cbeb667b2 /python | |
parent | db2cdfde11d437a254e9580e00fac8541430c5bc (diff) | |
download | slackbuilds-95e82341444365f75051a85789c205207446d609.tar.gz |
python/pysmssend: Fixed (Handle desktop files and clean up build)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/pysmssend/doinst.sh | 3 | ||||
-rw-r--r-- | python/pysmssend/pysmssend.SlackBuild | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/python/pysmssend/doinst.sh b/python/pysmssend/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/python/pysmssend/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/python/pysmssend/pysmssend.SlackBuild b/python/pysmssend/pysmssend.SlackBuild index b8c107ed95..c8c931f79f 100644 --- a/python/pysmssend/pysmssend.SlackBuild +++ b/python/pysmssend/pysmssend.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=pysmssend VERSION=${VERSION:-1.48} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -44,7 +44,7 @@ rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -#chown -R root:root . +chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ @@ -73,6 +73,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:-tgz} |