summaryrefslogtreecommitdiffstats
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-rw-r--r--academic/zotero/zotero.SlackBuild10
-rw-r--r--academic/zotero/zotero.info10
2 files changed, 8 insertions, 12 deletions
diff --git a/academic/zotero/zotero.SlackBuild b/academic/zotero/zotero.SlackBuild
index ed19dd4f60..2671ede252 100644
--- a/academic/zotero/zotero.SlackBuild
+++ b/academic/zotero/zotero.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zotero
-# Copyright 2014-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2014-2017 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=zotero
SRCNAM=Zotero
-VERSION=${VERSION:-4.0.29.10}
+VERSION=${VERSION:-5.0.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,18 +61,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Enter path
-sed -i -e 's:MOZ_PROGRAM="":MOZ_PROGRAM="/opt/zotero/zotero":g' run-zotero.sh
-
mkdir -p $PKG/{usr/bin,opt/$PRGNAM}
cp -a * $PKG/opt/$PRGNAM
- ln -s /opt/$PRGNAM/run-zotero.sh $PKG/usr/bin/$PRGNAM
+ ln -s /opt/$PRGNAM/zotero $PKG/usr/bin/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/opt/$PRGNAM/{COPYING,README.md} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/{applications,pixmaps}
diff --git a/academic/zotero/zotero.info b/academic/zotero/zotero.info
index e0f116b8e3..251ac11fb9 100644
--- a/academic/zotero/zotero.info
+++ b/academic/zotero/zotero.info
@@ -1,10 +1,10 @@
PRGNAM="zotero"
-VERSION="4.0.29.10"
+VERSION="5.0.21"
HOMEPAGE="https://www.zotero.org/"
-DOWNLOAD="https://download.zotero.org/standalone/4.0.29.10/Zotero-4.0.29.10_linux-i686.tar.bz2"
-MD5SUM="1be77940fb35b5684ad6c84a168a0e34"
-DOWNLOAD_x86_64="https://download.zotero.org/standalone/4.0.29.10/Zotero-4.0.29.10_linux-x86_64.tar.bz2"
-MD5SUM_x86_64="ae6b35549b2da1113869ebe95972da86"
+DOWNLOAD="https://download.zotero.org/client/release/5.0.21/Zotero-5.0.21_linux-i686.tar.bz2"
+MD5SUM="6e4c76132fab9fa6774b3563f0368582"
+DOWNLOAD_x86_64="https://download.zotero.org/client/release/5.0.21/Zotero-5.0.21_linux-x86_64.tar.bz2"
+MD5SUM_x86_64="71ba369415b44fcf13ab341b543977d5"
REQUIRES=""
MAINTAINER="Petar Petrov"
EMAIL="slackalaxy@gmail.com"