aboutsummaryrefslogtreecommitdiff
path: root/libraries/SQLObject/SQLObject.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2010-08-22 19:16:04 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-23 00:53:50 -0500
commit3c745e283b04bc376d53e1bdd0acb93476f55fc7 (patch)
treef93709557bdbe925a878fd693eadd257dd7aaad3 /libraries/SQLObject/SQLObject.SlackBuild
parentc13dc6dd3d31ed234b41ac07fa1ac20aaf102c1e (diff)
libraries/SQLObject: Updated for version 0.12.4.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/SQLObject/SQLObject.SlackBuild')
-rw-r--r--libraries/SQLObject/SQLObject.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/libraries/SQLObject/SQLObject.SlackBuild b/libraries/SQLObject/SQLObject.SlackBuild
index 2f5015be74793..942da7d8c6fb1 100644
--- a/libraries/SQLObject/SQLObject.SlackBuild
+++ b/libraries/SQLObject/SQLObject.SlackBuild
@@ -2,20 +2,18 @@
# Slackware build script for SQLObject
-# Written by Mikko Varri (vmj@linuxbox.fi)
+# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
PRGNAM=SQLObject
-VERSION=${VERSION:-0.10.4}
+VERSION=${VERSION:-0.12.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -41,10 +39,11 @@ find . \
-exec chmod 644 {} \;
python setup.py install --root=$PKG
+( cd docs && ./rebuild ) || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/docs
cp -a PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/*.{txt,html} $PKG/usr/doc/$PRGNAM-$VERSION/docs/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install