summaryrefslogtreecommitdiff
path: root/python/pyutil/pyutil.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2012-03-30 00:10:43 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-03-30 00:10:43 -0400
commit768b9f36c5f562eb36ad90bf79361a9d68e932a0 (patch)
tree4bc3632710f4a5bfb880fe963b24a928d431a36e /python/pyutil/pyutil.SlackBuild
parent4f2a475293dfaf88d19145283459d4977fb62e4e (diff)
downloadslackbuilds-768b9f36c5f562eb36ad90bf79361a9d68e932a0.tar.gz
python/pyutil: Updated for version 1.8.4 new maintainer.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python/pyutil/pyutil.SlackBuild')
-rw-r--r--python/pyutil/pyutil.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/python/pyutil/pyutil.SlackBuild b/python/pyutil/pyutil.SlackBuild
index cb285a0568..019464af50 100644
--- a/python/pyutil/pyutil.SlackBuild
+++ b/python/pyutil/pyutil.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pyutil.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
+# Copyright 2012 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,6 +22,9 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Originally written by Marco Bonetti - Thanks!
+# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=pyutil
VERSION=${VERSION:-1.8.4}
@@ -75,9 +79,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+#cleanup
+rm $PKG/usr/share/doc/pyutil/*
+cd $PKG/usr
+rmdir -p share/doc/pyutil
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc