diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-12-27 01:50:59 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-27 10:15:25 -0600 |
commit | f14b653b4aac6538e3da64e44de7189883337015 (patch) | |
tree | df0ae0880d902ed58a9424ce9f7e7b60e5936b6d | |
parent | de24c459de25d0d58acabcf0a533715cb029a7db (diff) |
system/lxrandr: Updated for version 20111224_05a11b1
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r-- | system/lxrandr/doinst.sh | 2 | ||||
-rw-r--r-- | system/lxrandr/lxrandr.SlackBuild | 28 | ||||
-rw-r--r-- | system/lxrandr/lxrandr.info | 8 |
3 files changed, 18 insertions, 20 deletions
diff --git a/system/lxrandr/doinst.sh b/system/lxrandr/doinst.sh index 3857649f506a..5fb28930db0b 100644 --- a/system/lxrandr/doinst.sh +++ b/system/lxrandr/doinst.sh @@ -1,3 +1,3 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi diff --git a/system/lxrandr/lxrandr.SlackBuild b/system/lxrandr/lxrandr.SlackBuild index 9ba31b9cb171..b70906eb2c35 100644 --- a/system/lxrandr/lxrandr.SlackBuild +++ b/system/lxrandr/lxrandr.SlackBuild @@ -22,14 +22,14 @@ # SUCH DAMAGE. # ----------------------------------------------------------------------------- # -# Slackware SlackBuild script +# Slackware SlackBuild script # =========================== # By: Eric Hameleers <alien@slackware.com> # For: lxrandr # Descr: LXDE monitor config tool # URL: http://lxde.sourceforge.net/ -# Needs: -# Changelog: +# Needs: +# Changelog: # 0.1-1: 23/jun/2008 by Eric Hameleers <alien@slackware.com> # * Initial build. # 0.1.1-1: 11/sep/2009 by Eric Hameleers <alien@slackware.com> @@ -37,24 +37,24 @@ # 20100906_9aaca42 12/sep/2010 by ponce <matteo.bernardini@gmail.com> # * Adapted to slackbuilds.org's autotools template. # * updated to git snapshot. -# +# 20111224_05a11b1 26/dec/2011 by ponce <matteo.bernardini@gmail.com> +# * update. +# # Run 'sh lxrandr.SlackBuild --cleanup' to build a Slackware package. # The package is created in /tmp . -# Install using 'installpkg'. +# Install using 'installpkg'. # # ----------------------------------------------------------------------------- PRGNAM=lxrandr -VERSION=${VERSION:-20100906_9aaca42} +VERSION=${VERSION:-20111224_05a11b1} BUILD=${BUILD:-1} 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 @@ -95,7 +95,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -sh autogen.sh +sh autogen.sh || true CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ @@ -112,15 +112,13 @@ CFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc -type f -exec chmod 644 {} \; - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/lxrandr/lxrandr.info b/system/lxrandr/lxrandr.info index 47bf8cc75017..92e180c96152 100644 --- a/system/lxrandr/lxrandr.info +++ b/system/lxrandr/lxrandr.info @@ -1,10 +1,10 @@ PRGNAM="lxrandr" -VERSION="20100906_9aaca42" +VERSION="20111224_05a11b1" HOMEPAGE="http://wiki.lxde.org/en/LXRandr" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/lxrandr-20100906_9aaca42.tar.xz" -MD5SUM="a214fbf54a9ee4d5aad94018d1f6e982" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/lxrandr-20111224_05a11b1.tar.xz" +MD5SUM="0fbd0ea027cdf6d5fd144e25368af6ef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="ponce" EMAIL="matteo.bernardini@gmail.com" -APPROVED="dsomero" +APPROVED="Erik Hanson" |