summaryrefslogtreecommitdiff
path: root/python/pyutil/pyutil.SlackBuild
diff options
context:
space:
mode:
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