aboutsummaryrefslogtreecommitdiff
path: root/libraries/SQLObject/SQLObject.SlackBuild
diff options
context:
space:
mode:
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