aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-04-12 23:03:30 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-13 22:03:46 +0700
commit71c29d63be9a1a54ad36dba3d0ee83ca849d56e6 (patch)
tree7b3c943b7b694c7c2e5d48967477ea4faff1244c /development
parentde5c5f4310b3f20444c1d8f510732d1f61357448 (diff)
development/github-desktop: Fix BUILD variable usage.
This is for the internal build number and can be passed through the environment, not upstream build numbers. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/github-desktop/github-desktop.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/development/github-desktop/github-desktop.SlackBuild b/development/github-desktop/github-desktop.SlackBuild
index 351467c60257..fbc8119be0f8 100644
--- a/development/github-desktop/github-desktop.SlackBuild
+++ b/development/github-desktop/github-desktop.SlackBuild
@@ -27,7 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=github-desktop
SRCNAM=GitHubDesktop
VERSION=${VERSION:-3.3.12}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
+DEBBUILD=${DEBBUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +71,7 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar x $CWD/${SRCNAM}-linux-$DEBARCH-${VERSION}-linux${BUILD}.deb data.tar.xz
+ar x $CWD/${SRCNAM}-linux-$DEBARCH-${VERSION}-linux${DEBBUILD}.deb data.tar.xz
tar xvf $PKG/data.tar.xz
rm $PKG/data.tar.xz