diff options
Diffstat (limited to 'office/JabRef/JabRef.SlackBuild')
-rw-r--r-- | office/JabRef/JabRef.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/office/JabRef/JabRef.SlackBuild b/office/JabRef/JabRef.SlackBuild index 0048816e02658..5f77a5907116a 100644 --- a/office/JabRef/JabRef.SlackBuild +++ b/office/JabRef/JabRef.SlackBuild @@ -27,20 +27,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=JabRef -VERSION=${VERSION:-5.8} +VERSION=${VERSION:-5.9} 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 -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -53,6 +45,14 @@ if [ -z "$ARCH" ]; then 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 + # Upstream has binary support for x86_64 if [ "$ARCH" = "x86_64" ]; then DEBARCH="amd64" @@ -66,7 +66,8 @@ set -e rm -rf "$PKG" mkdir -p "$TMP" "$PKG" "$OUTPUT" cd "$PKG" -ar p "$CWD"/${PRGNAM,,}_"$VERSION"_"$DEBARCH".deb data.tar.zst | tar xv --zstd +ar p "$CWD"/${PRGNAM,,}_"$VERSION"_"$DEBARCH".deb data.tar.xz | tar xJv +#ar p "$CWD"/${PRGNAM,,}_"$VERSION"_"$DEBARCH".deb data.tar.zst | tar xv --zstd # permissions chown -R root:root . |