summaryrefslogtreecommitdiff
path: root/development/docutils/docutils.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-15 00:19:54 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-20 14:08:09 -0500
commit4e2dced233c338de6ea07be4325ddfa29b5f4243 (patch)
treefffe6d83168dea86c9a1c3590b0146059c06dd19 /development/docutils/docutils.SlackBuild
parent89133688be1049b3723a77dc99c9a54bd5606da6 (diff)
downloadslackbuilds-4e2dced233c338de6ea07be4325ddfa29b5f4243.tar.gz
development/docutils: Updated for version 0.7.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/docutils/docutils.SlackBuild')
-rw-r--r--development/docutils/docutils.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/docutils/docutils.SlackBuild b/development/docutils/docutils.SlackBuild
index 8b2526af1d..a491a0f26a 100644
--- a/development/docutils/docutils.SlackBuild
+++ b/development/docutils/docutils.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for docutils
-# Copyright 2006,2007,2008,2009,2010 Robby Workman Northport, AL, USA
+# Copyright 2006-2011 Robby Workman Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=docutils
-VERSION=0.6
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,8 +59,8 @@ find . \
python setup.py install --root=$PKG
-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 -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
+ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION