diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2011-07-12 05:09:04 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:54:05 -0300 |
commit | f9137a32d65866f22305c70398180733cf5d5569 (patch) | |
tree | f772f1ebb388d84c5d64bdad767dd46b9876fcc1 | |
parent | 1891d18636da5960a401d38c0c88eb80502a94b7 (diff) |
desktop/scrotwm: Updated for version 0.9.32.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | desktop/scrotwm/doinst.sh | 3 | ||||
-rw-r--r-- | desktop/scrotwm/scrotwm.SlackBuild | 37 | ||||
-rw-r--r-- | desktop/scrotwm/scrotwm.info | 8 |
3 files changed, 28 insertions, 20 deletions
diff --git a/desktop/scrotwm/doinst.sh b/desktop/scrotwm/doinst.sh new file mode 100644 index 0000000000000..a278a2b159da1 --- /dev/null +++ b/desktop/scrotwm/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q +fi diff --git a/desktop/scrotwm/scrotwm.SlackBuild b/desktop/scrotwm/scrotwm.SlackBuild index 1acda9b443b5a..e316f998e2fee 100644 --- a/desktop/scrotwm/scrotwm.SlackBuild +++ b/desktop/scrotwm/scrotwm.SlackBuild @@ -1,30 +1,30 @@ #!/bin/sh - + # Copyright (c) 2010 Daniel LEVAI # All rights reserved. -# +# # * Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions +# modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must retain the above copyright notice # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY -# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# +# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=scrotwm -VERSION=0.9.28 +VERSION=0.9.32 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,7 +44,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then @@ -87,7 +87,7 @@ strip --strip-unneeded $PKG/usr/bin/scrotwm # Fixup the manpages ( cd $PKG/usr/man mkdir -p {es,it,ru}/man1 - for i in es it ru ; do + for i in es it ru ; do mkdir -p $i/man1 mv man1/scrotwm_$i.1 $i/man1/scrotwm.1 done @@ -100,8 +100,13 @@ cp -a scrotwm.conf initscreen.sh baraction.sh screenshot.sh \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -type f -exec chmod 0644 {} \; +# desktop integration +mkdir -m755 -p "${PKG}/usr/share/applications/" +cp -a linux/scrotwm.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} diff --git a/desktop/scrotwm/scrotwm.info b/desktop/scrotwm/scrotwm.info index 66734bb63b0eb..da9810f462b08 100644 --- a/desktop/scrotwm/scrotwm.info +++ b/desktop/scrotwm/scrotwm.info @@ -1,10 +1,10 @@ PRGNAM="scrotwm" -VERSION="0.9.28" +VERSION="0.9.32" HOMEPAGE="http://opensource.conformal.com/wiki/Scrotwm" -DOWNLOAD="http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.28.tgz" -MD5SUM="dc89920c9c6e93228fac2233c8e651dc" +DOWNLOAD="http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.32.tgz" +MD5SUM="43053b82962f6629ffa487bfb1c3195d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Daniel LEVAI" EMAIL="leva@ecentrum.hu" -APPROVED="rworkman" +APPROVED="dsomero" |