mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
python/pyutil: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1e5b1227cf
commit
fbdf9413ca
2 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
pyutil: pyutil (Python utilities)
|
||||
pyutil:
|
||||
pyutil: A collection of functions and data structures from allmydata.org
|
||||
pyutil: A collection of functions and data structures from tahoe-lafs.org
|
||||
pyutil: (formerly allmydata.org).
|
||||
pyutil:
|
||||
pyutil: Homepage: http://pypi.python.org/pypi/pyutil
|
||||
pyutil:
|
||||
|
@ -16,4 +17,3 @@ pyutil:
|
|||
pyutil:
|
||||
pyutil:
|
||||
pyutil:
|
||||
pyutil:
|
||||
|
|
Loading…
Reference in a new issue