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
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with
2 additions and
1 deletions
office/JabRef/JabRef.SlackBuild
@ -31,6 +31,7 @@ VERSION=${VERSION:-5.5}
BUILD=${BUILD:-1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
PKGTYPE=${PKGTYPE:-tgz}
DEBBUILD=${DEBBUILD:-1}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# 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
# the name of the created package would be, and then exit. This information
@ -52,7 +53,7 @@ set -e
rm -rf "$PKG"
rm -rf "$PKG"
mkdir -p "$TMP" "$PKG" "$OUTPUT"
mkdir -p "$TMP" "$PKG" "$OUTPUT"
cd "$PKG"
cd "$PKG"
ar p "$CWD"/${PRGNAM,,}_"$VERSION"-"$BUILD"_"$DEBARCH".deb data.tar.xz | tar xJv
ar p "$CWD"/${PRGNAM,,}_"$VERSION"-"$DEB BUILD"_"$DEBARCH".deb data.tar.xz | tar xJv
# permissions
# permissions
chown -R root:root .
chown -R root:root .