desktop/scrotwm: Updated for version 0.9.32.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Daniel LEVAI 2011-07-12 05:09:04 -04:00 committed by Niels Horn
parent 1891d18636
commit f9137a32d6
3 changed files with 28 additions and 20 deletions

View file

@ -0,0 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q
fi

View file

@ -1,30 +1,30 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2010 Daniel LEVAI # Copyright (c) 2010 Daniel LEVAI
# All rights reserved. # All rights reserved.
# #
# * Redistribution and use in source and binary forms, with or without # * 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: # are met:
# * Redistributions of source code must retain the above copyright notice # * Redistributions of source code must retain the above copyright notice
# this list of conditions and the following disclaimer. # this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright # * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the # notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution. # documentation and/or other materials provided with the distribution.
# #
# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, # THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scrotwm PRGNAM=scrotwm
VERSION=0.9.28 VERSION=0.9.32
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -44,7 +44,7 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ];then if [ "$ARCH" = "i486" ];then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
@ -87,7 +87,7 @@ strip --strip-unneeded $PKG/usr/bin/scrotwm
# Fixup the manpages # Fixup the manpages
( cd $PKG/usr/man ( cd $PKG/usr/man
mkdir -p {es,it,ru}/man1 mkdir -p {es,it,ru}/man1
for i in es it ru ; do for i in es it ru ; do
mkdir -p $i/man1 mkdir -p $i/man1
mv man1/scrotwm_$i.1 $i/man1/scrotwm.1 mv man1/scrotwm_$i.1 $i/man1/scrotwm.1
done 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \; 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 mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="scrotwm" PRGNAM="scrotwm"
VERSION="0.9.28" VERSION="0.9.32"
HOMEPAGE="http://opensource.conformal.com/wiki/Scrotwm" HOMEPAGE="http://opensource.conformal.com/wiki/Scrotwm"
DOWNLOAD="http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.28.tgz" DOWNLOAD="http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.32.tgz"
MD5SUM="dc89920c9c6e93228fac2233c8e651dc" MD5SUM="43053b82962f6629ffa487bfb1c3195d"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Daniel LEVAI" MAINTAINER="Daniel LEVAI"
EMAIL="leva@ecentrum.hu" EMAIL="leva@ecentrum.hu"
APPROVED="rworkman" APPROVED="dsomero"