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 /system/lxrandr/lxrandr.SlackBuild | |
parent | de24c459de25d0d58acabcf0a533715cb029a7db (diff) | |
download | slackbuilds-f14b653b4aac6538e3da64e44de7189883337015.tar.gz |
system/lxrandr: Updated for version 20111224_05a11b1
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/lxrandr/lxrandr.SlackBuild')
-rw-r--r-- | system/lxrandr/lxrandr.SlackBuild | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/system/lxrandr/lxrandr.SlackBuild b/system/lxrandr/lxrandr.SlackBuild index 9ba31b9cb1..b70906eb2c 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 |