From ccf944d24355f857c1beade34daae6b8094fd77c Mon Sep 17 00:00:00 2001 From: Howard Pepper Date: Mon, 5 Sep 2011 21:53:04 -0400 Subject: office/xpad: Updated for version 4.0. Signed-off-by: dsomero --- office/xpad/xpad.SlackBuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'office/xpad/xpad.SlackBuild') diff --git a/office/xpad/xpad.SlackBuild b/office/xpad/xpad.SlackBuild index 5878e7268d..5078495200 100644 --- a/office/xpad/xpad.SlackBuild +++ b/office/xpad/xpad.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for xpad +# Copyright 2011 Howard Pepper # Copyright 2008 Frank Caraballo # All rights reserved. # @@ -23,16 +24,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xpad -VERSION=${VERSION:-3.0} +VERSION=${VERSION:-4.0} 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 @@ -71,6 +70,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# patch the relevant files: +patch -p0 < $CWD/patches/xpad-pad.patch + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -83,10 +85,8 @@ CFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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/usr/doc/$PRGNAM-$VERSION cp -a \ -- cgit v1.2.3