Browse Source

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>
pull/186/head
Andrew Clemons 4 years ago
committed by Willy Sudiarto Raharjo
parent
commit
6bb4e21ad6
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 3
      office/JabRef/JabRef.SlackBuild

3
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 .

Loading…
Cancel
Save