office/JabRef: Updated for version 5.6.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David O'Shaughnessy 2022-04-26 04:46:29 +01:00 committed by Willy Sudiarto Raharjo
parent 515177bbfa
commit f912b0787b
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 20 additions and 7 deletions

View file

@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=JabRef
VERSION=${VERSION:-5.5}
VERSION=${VERSION:-5.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -45,8 +45,21 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
ARCH=${ARCH:-noarch}
DEBARCH=amd64
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
# Upstream has binary support for x86_64
if [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
else
echo "Sorry, binary is available for x86_64 only."
exit 1
fi
set -e
@ -68,7 +81,7 @@ find "$PKG" -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
# create a symlink for program
mkdir -p "$PKG"/usr/bin
ln -s /opt/${PRGNAM,,}/bin/$PRGNAM "$PKG"/usr/bin/$PRGNAM
ln -s ../../opt/${PRGNAM,,}/bin/$PRGNAM "$PKG"/usr/bin/$PRGNAM
# desktop and icon
install -D -m 0644 opt/${PRGNAM,,}/lib/${PRGNAM,,}-$PRGNAM.desktop -t "$PKG"/usr/share/applications

View file

@ -1,10 +1,10 @@
PRGNAM="JabRef"
VERSION="5.5"
VERSION="5.6"
HOMEPAGE="https://jabref.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/JabRef/jabref/releases/download/v5.5/jabref_5.5-1_amd64.deb"
MD5SUM_x86_64="5e0dc5f86db4aa5d5a20faf29502d87e"
DOWNLOAD_x86_64="https://github.com/JabRef/jabref/releases/download/v5.6/jabref_5.6-1_amd64.deb"
MD5SUM_x86_64="ead8fd67b818b1db6bd9b6e0464c85ce"
REQUIRES=""
MAINTAINER="David O'Shaughnessy"
EMAIL="dev@osh.id.au"