diff options
Diffstat (limited to 'libraries/FormEncode/FormEncode.SlackBuild')
-rw-r--r-- | libraries/FormEncode/FormEncode.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/FormEncode/FormEncode.SlackBuild b/libraries/FormEncode/FormEncode.SlackBuild index c0e6df4e61..7508cb0f2c 100644 --- a/libraries/FormEncode/FormEncode.SlackBuild +++ b/libraries/FormEncode/FormEncode.SlackBuild @@ -2,20 +2,18 @@ # Slackware build script for FormEncode -# Written by Mikko Varri (vmj@linuxbox.fi) +# Written by Mikko Värri (vmj@linuxbox.fi) # Public domain PRGNAM=FormEncode -VERSION=${VERSION:-1.2} +VERSION=${VERSION:-1.2.2} 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,9 +39,11 @@ find . \ -exec chmod 644 {} \; python setup.py install --root=$PKG +./regen-docs || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html +cp -a docs/_build/* $PKG/usr/doc/$PRGNAM-$VERSION/html || \ + cp -a docs $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |