#!/bin/bash source /usr/share/slackdev/buildkit.sh # Package metadata: export PACKAGE=amp export VERSION=0.7.6 export ARCH=arm export BUILD=1 export PKGSERIES=ap export SLACKPACKAGE=$PACKAGE-$VERSION-$ARCH-$BUILD.tgz # Reset the ARM file system: restore it to the 'factory settings' # as it were (this has no effect when building natively): sboxsysrestore # Ensure base ARM packages are installed first: slackbasedeps ./$PACKAGE.SlackBuild