summaryrefslogtreecommitdiff
path: root/office/xpad/xpad.SlackBuild
diff options
context:
space:
mode:
authorHoward Pepper <h_pepper at bellsouth {dot} net>2011-09-05 21:53:04 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-09-05 23:03:07 -0500
commitccf944d24355f857c1beade34daae6b8094fd77c (patch)
tree4dd8b5de498ff620f83f02f69e80f928273bf772 /office/xpad/xpad.SlackBuild
parent3593802184f4f5f733a97b40ed6e2e90c13d1fcf (diff)
downloadslackbuilds-ccf944d24355f857c1beade34daae6b8094fd77c.tar.gz
office/xpad: Updated for version 4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/xpad/xpad.SlackBuild')
-rw-r--r--office/xpad/xpad.SlackBuild14
1 files changed, 7 insertions, 7 deletions
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 <h_pepper {at} bellsouth {dot} net>
# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# 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 \