aboutsummaryrefslogtreecommitdiff
path: root/office/xpad/xpad.SlackBuild
diff options
context:
space:
mode:
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 5878e7268d0eb..50784952009bf 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 \