aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-14 08:19:15 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-18 00:26:11 +0700
commit6bb4e21ad6d4376315b19e4ac121bbd5586b6ee1 (patch)
tree4689f6bb5abc6dbb66c632ff26e43cb982e87220 /office
parent8c02fc39ad99652adc43d70ce1838c33c02398a6 (diff)
office/JabRef: Fix BUILD usage.
BUILD is users of the script, 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 'office')
-rw-r--r--office/JabRef/JabRef.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/JabRef/JabRef.SlackBuild b/office/JabRef/JabRef.SlackBuild
index 8759e2721df7..9cc0d6049ab0 100644
--- a/office/JabRef/JabRef.SlackBuild
+++ b/office/JabRef/JabRef.SlackBuild
@@ -31,6 +31,7 @@ VERSION=${VERSION:-5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+DEBBUILD=${DEBBUILD:-1}
# 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
@@ -52,7 +53,7 @@ set -e
rm -rf "$PKG"
mkdir -p "$TMP" "$PKG" "$OUTPUT"
cd "$PKG"
-ar p "$CWD"/${PRGNAM,,}_"$VERSION"-"$BUILD"_"$DEBARCH".deb data.tar.xz | tar xJv
+ar p "$CWD"/${PRGNAM,,}_"$VERSION"-"$DEBBUILD"_"$DEBARCH".deb data.tar.xz | tar xJv
# permissions
chown -R root:root .