diff options
Diffstat (limited to 'desktop/BlockstreamGreen/BlockstreamGreen.SlackBuild')
-rw-r--r-- | desktop/BlockstreamGreen/BlockstreamGreen.SlackBuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/desktop/BlockstreamGreen/BlockstreamGreen.SlackBuild b/desktop/BlockstreamGreen/BlockstreamGreen.SlackBuild index 4f87aacc863bc..f8825b694ab95 100644 --- a/desktop/BlockstreamGreen/BlockstreamGreen.SlackBuild +++ b/desktop/BlockstreamGreen/BlockstreamGreen.SlackBuild @@ -21,28 +21,29 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -cd $(dirname $0) ; CWD=$(pwd) - PRGNAM=BlockstreamGreen -VERSION=${VERSION:-1.0.7} +VERSION=${VERSION:-1.1.2} SRC=BlockstreamGreen-x86_64.AppImage BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i586 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM |