aboutsummaryrefslogtreecommitdiff
path: root/libraries/python-xlrd/python-xlrd.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-17 15:09:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:40 +0700
commit540a11551ffb0eac3b0265586a88a7f45c576fdf (patch)
tree060e8863ca87c1d49e6c8c513d44d26892c8cc2d /libraries/python-xlrd/python-xlrd.SlackBuild
parent2d18fdd5365c3bb75983d2ed876159da4e33eb2a (diff)
libraries/python-xlrd: Updated for version 0.9.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/python-xlrd/python-xlrd.SlackBuild')
-rw-r--r--libraries/python-xlrd/python-xlrd.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/python-xlrd/python-xlrd.SlackBuild b/libraries/python-xlrd/python-xlrd.SlackBuild
index 2b164f64f0788..d0e183329ff1a 100644
--- a/libraries/python-xlrd/python-xlrd.SlackBuild
+++ b/libraries/python-xlrd/python-xlrd.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-xlrd
-SCRNAM=xlrd
-VERSION=${VERSION:-0.9.2}
+SCRNAM=$(echo $PRGNAM | cut -c8-11)
+VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,11 +80,12 @@ 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 PKG-INFO README.html xlrd/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a PKG-INFO README.html $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}