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 /desktop/scrotwm/scrotwm.SlackBuild | |
parent | 1891d18636da5960a401d38c0c88eb80502a94b7 (diff) | |
download | slackbuilds-f9137a32d65866f22305c70398180733cf5d5569.tar.gz |
desktop/scrotwm: Updated for version 0.9.32.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/scrotwm/scrotwm.SlackBuild')
-rw-r--r-- | desktop/scrotwm/scrotwm.SlackBuild | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/desktop/scrotwm/scrotwm.SlackBuild b/desktop/scrotwm/scrotwm.SlackBuild index 1acda9b443..e316f998e2 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} |