summaryrefslogtreecommitdiff
path: root/libraries/configobj/configobj.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/configobj/configobj.SlackBuild')
-rw-r--r--libraries/configobj/configobj.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/configobj/configobj.SlackBuild b/libraries/configobj/configobj.SlackBuild
index 29e0c3f82b..2ff397a03d 100644
--- a/libraries/configobj/configobj.SlackBuild
+++ b/libraries/configobj/configobj.SlackBuild
@@ -5,7 +5,7 @@
# Written by Luis Henrique <lmello.009@gmail.com>
PRGNAM=configobj
-VERSION=${VERSION:-4.7.0}
+VERSION=${VERSION:-4.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,7 +29,7 @@ set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-$VERSION __MACOSX/$PRGNAM-$VERSION
unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -41,6 +41,10 @@ find . \
python setup.py install --root=$PKG
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc