aboutsummaryrefslogtreecommitdiff
path: root/python/pyutil/pyutil.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2015-07-13 07:55:17 +0700
committerRobby Workman <rworkman@slackbuilds.org>2015-07-16 10:57:18 -0500
commitfbdf9413ca0bcd0e9336349c942da439d6866087 (patch)
treec7ca02cebb4aa100bced22694a8db431ca88c178 /python/pyutil/pyutil.SlackBuild
parent1e5b1227cfc474a609f00f4a19e798c4e31cbf97 (diff)
python/pyutil: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pyutil/pyutil.SlackBuild')
-rw-r--r--python/pyutil/pyutil.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/python/pyutil/pyutil.SlackBuild b/python/pyutil/pyutil.SlackBuild
index b97939852e562..da447a2f05249 100644
--- a/python/pyutil/pyutil.SlackBuild
+++ b/python/pyutil/pyutil.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for pyutil.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2012-2014 Markus Reichelt, Stolberg (Rhld.), DE
+# Copyright 2012-2015 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@
PRGNAM=pyutil
VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,13 +80,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING* README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING* CREDITS README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
#cleanup
rm $PKG/usr/share/doc/pyutil/*
+rm $PKG/usr/pyutil/data/*
cd $PKG/usr
rmdir -p share/doc/pyutil
+rmdir -p pyutil/data
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc