aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorDavid O'Shaughnessy <dev@osh.id.au>2023-01-12 21:06:39 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:09 +0700
commite323830c4d425f6a7a0a12808e5e3d18d053083e (patch)
tree1206c2ec8e866f05038ca6d917f3530e0457cab3 /office
parent89ca9891dffdd3cc6bff1487f05a00f987b81925 (diff)
office/JabRef: Updated for version 5.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/JabRef/JabRef.SlackBuild21
-rw-r--r--office/JabRef/JabRef.info6
2 files changed, 14 insertions, 13 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 .
diff --git a/office/JabRef/JabRef.info b/office/JabRef/JabRef.info
index b349ffa08153c..8fb52e80a474e 100644
--- a/office/JabRef/JabRef.info
+++ b/office/JabRef/JabRef.info
@@ -1,10 +1,10 @@
PRGNAM="JabRef"
-VERSION="5.8"
+VERSION="5.9"
HOMEPAGE="https://jabref.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/JabRef/jabref/releases/download/v5.8/jabref_5.8_amd64.deb"
-MD5SUM_x86_64="d6c39fd6a133a767b9496e63e623f3f8"
+DOWNLOAD_x86_64="https://github.com/JabRef/jabref/releases/download/v5.9/jabref_5.9_amd64.deb"
+MD5SUM_x86_64="327f98d10a4535488622384f7216360a"
REQUIRES=""
MAINTAINER="David O'Shaughnessy"
EMAIL="dev@osh.id.au"