summaryrefslogtreecommitdiff
path: root/source/ap/linuxdoc-tools/trackbuild.linuxdoc-tools
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/linuxdoc-tools/trackbuild.linuxdoc-tools')
-rwxr-xr-xsource/ap/linuxdoc-tools/trackbuild.linuxdoc-tools15
1 files changed, 10 insertions, 5 deletions
diff --git a/source/ap/linuxdoc-tools/trackbuild.linuxdoc-tools b/source/ap/linuxdoc-tools/trackbuild.linuxdoc-tools
index 6eddaf4e..9533bd86 100755
--- a/source/ap/linuxdoc-tools/trackbuild.linuxdoc-tools
+++ b/source/ap/linuxdoc-tools/trackbuild.linuxdoc-tools
@@ -20,17 +20,18 @@
# Package info:
PKGNAM=linuxdoc-tools
-# Automatically determine architecture for build & packaging:
+# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
+ *) export ARCH=$( uname -m ) ;;
esac
fi
-BUILD=${BUILD:-5}
-PKGVERSION=0.9.56 # use the version of linuxdoc-tools as the package version.
+export PKGVERSION=0.9.66 # use the version of linuxdoc-tools as the package version.
+BUILD=${BUILD:-2}
PKGEXT=${PKGEXT:-txz}
export CWD=$PWD
@@ -49,6 +50,7 @@ rm -rf /usr/share/doc/linuxdoc-tools
rm -rf /usr/share/sgml
rm -rf /usr/share/xml/{docbook,xml-iso-entities*} # can't wipe the entire dir because of libglade
rm -rf ~/.texmf-var/ # created by docbook-utils
+rm -rf ~/.texlive* # incase you were using Texlive rather than Textex-3
####################################################################
@@ -75,4 +77,7 @@ slacktrack $TFS \
-l $CWD/build.$ARCH.log \
-R $CWD/postbuildfixes.sh \
-b $PKGSTORE \
- -YQOcp $PKGNAM-$PKGVERSION-$ARCH-$BUILD.$PKGEXT ./linuxdoc-tools.build
+ -rYQOcp $PKGNAM-$PKGVERSION-$ARCH-$BUILD.$PKGEXT ./linuxdoc-tools.build
+
+# Compress build log:
+xz -fvz $CWD/build.$ARCH.log