diff options
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 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} |