diff options
author | Robby Workman <rw@rlworkman.net> | 2010-06-17 15:51:20 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-17 15:51:20 -0500 |
commit | 0210c90b174d234ff22dc1dcffa26df8f5097246 (patch) | |
tree | 7c89f6154838989dd3238d760edc027225df7f07 /office/abiword/abiword.SlackBuild | |
parent | 1f79d65ccbefd9e1cdc6f1945caf690dc0b5689e (diff) | |
download | slackbuilds-0210c90b174d234ff22dc1dcffa26df8f5097246.tar.gz |
office/abiword: Updated for version 2.8.6.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office/abiword/abiword.SlackBuild')
-rw-r--r-- | office/abiword/abiword.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild index feaa3cc7e4..1214057dfd 100644 --- a/office/abiword/abiword.SlackBuild +++ b/office/abiword/abiword.SlackBuild @@ -27,17 +27,15 @@ # work correctly on Slackware - the patches are all from him PRGNAM=abiword -VERSION=2.8.5 +VERSION=2.8.6 DOCSVER=$VERSION # version of abiword-docs 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 @@ -66,7 +64,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION rm -rf abiword-docs-$DOCSVER @@ -79,10 +77,10 @@ find . \ -exec chmod 644 {} \; # This should make the build use Slackware's Boost Asio -patch -p1 < $CWD/patches/boost_asio.patch +patch -p1 < $CWD/patches/boost_asio.patch # This should make the help stuff work properly -patch -p1 < $CWD/patches/url_show.patch +patch -p1 < $CWD/patches/url_show.patch CPPFLAGS="-I$TMP/$PRGNAM-$VERSION" \ CFLAGS="$SLKCFLAGS" \ @@ -125,6 +123,9 @@ cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 + # No need to clutter up the toplevel /usr/share/icons mv $PKG/usr/share/icons $PKG/usr/share/pixmaps |