#!/bin/bash # Set initial variables: CWD=$(pwd) TMP=${TMP:-/tmp/build-expect} export TMP rm -rf $TMP # Package info: PACKAGE=expect ARCH=${ARCH:-i486} BUILD=${BUILD:-2} PKGVERSION=5.43.0 # Store the finished Slackware package .tgz in /tmp: export PKGSTORE=/tmp # This will touch nearly every file on your expendable development # box. You wouldn't try this on a production system, right? altertrack \ --notidy \ -T $TMP \ -R $CWD/postbuildfixes.sh \ --touch-filesystem-first \ -b $PKGSTORE \ -OcQp $PACKAGE-$PKGVERSION-$ARCH-$BUILD.tgz ./expect.build