diff options
Diffstat (limited to 'libraries/python-xlrd/python-xlrd.SlackBuild')
-rw-r--r-- | libraries/python-xlrd/python-xlrd.SlackBuild | 7 |
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} |