From f14b653b4aac6538e3da64e44de7189883337015 Mon Sep 17 00:00:00 2001 From: ponce Date: Tue, 27 Dec 2011 01:50:59 -0600 Subject: system/lxrandr: Updated for version 20111224_05a11b1 Signed-off-by: Erik Hanson --- system/lxrandr/lxrandr.SlackBuild | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'system/lxrandr/lxrandr.SlackBuild') 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 # 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 # * Initial build. # 0.1.1-1: 11/sep/2009 by Eric Hameleers @@ -37,24 +37,24 @@ # 20100906_9aaca42 12/sep/2010 by ponce # * Adapted to slackbuilds.org's autotools template. # * updated to git snapshot. -# +# 20111224_05a11b1 26/dec/2011 by ponce +# * 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 -- cgit v1.2.3