diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2017-10-07 21:00:01 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-11 06:19:51 +0700 |
commit | 24ed42750bae55e1d34e20dd0cdf42e041b81366 (patch) | |
tree | 73998082940a0749349d0963988d2dfa621916b7 /academic/zotero/zotero.SlackBuild | |
parent | 8c6b10784f23ad3306aeaa5dbb0ea8a46c788b6e (diff) |
academic/zotero: Updated for version 5.0.21.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/zotero/zotero.SlackBuild')
-rw-r--r-- | academic/zotero/zotero.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/academic/zotero/zotero.SlackBuild b/academic/zotero/zotero.SlackBuild index ed19dd4f60d49..2671ede252127 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} |