aboutsummaryrefslogtreecommitdiff
path: root/libraries/configobj/configobj.SlackBuild
diff options
context:
space:
mode:
authorLuis Henrique <lmello.009@gmail.com>2012-12-27 07:49:35 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-27 17:56:19 +0100
commit669a30ce99229883d6df0e2c6ef6bbd2fb81d744 (patch)
treed0fd04527454a05da257619dd82c0db989798e0a /libraries/configobj/configobj.SlackBuild
parent9ba49d484c5a6a5596e795f9eacc0f59610e361a (diff)
libraries/configobj: Updated for version 4.7.2.
(added docs. --ponce) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 29e0c3f82bf3..2ff397a03d6d 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