diff options
author | afhpayne <github@komputermatrix.com> | 2022-07-02 22:11:20 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 10:06:10 +0700 |
commit | eb8f2043415f37607d3f7e2612ab8f4328023449 (patch) | |
tree | fe12f9b9c7a4872aecee6504c8852db9897a44f4 /academic | |
parent | e0775e1ec0dc90d98c1223bb35a74e25b684d1ac (diff) |
academic/zotero: Updated for version 6.0.9.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/zotero/README | 1 | ||||
-rw-r--r-- | academic/zotero/doinst.sh | 6 | ||||
-rw-r--r-- | academic/zotero/zotero.SlackBuild | 17 | ||||
-rw-r--r-- | academic/zotero/zotero.desktop | 2 | ||||
-rw-r--r-- | academic/zotero/zotero.info | 10 |
5 files changed, 27 insertions, 9 deletions
diff --git a/academic/zotero/README b/academic/zotero/README index fe49147cd97a..90a652ecda5a 100644 --- a/academic/zotero/README +++ b/academic/zotero/README @@ -30,4 +30,3 @@ Zotero is open source and developed by an independent, nonprofit organization that has no financial interest in your private information. With Zotero, you always stay in control of your own data. - diff --git a/academic/zotero/doinst.sh b/academic/zotero/doinst.sh index 5fb28930db0b..65c7e2eeb9aa 100644 --- a/academic/zotero/doinst.sh +++ b/academic/zotero/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/academic/zotero/zotero.SlackBuild b/academic/zotero/zotero.SlackBuild index 9bd1222f4153..b7fa80b34ca1 100644 --- a/academic/zotero/zotero.SlackBuild +++ b/academic/zotero/zotero.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zotero SRCNAM=Zotero -VERSION=${VERSION:-6.0.8} +VERSION=${VERSION:-6.0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,19 @@ mkdir -p $PKG/{usr/bin,opt/$PRGNAM} cp -a * $PKG/opt/$PRGNAM ln -s /opt/$PRGNAM/zotero $PKG/usr/bin/$PRGNAM +# put the icons in the right place +mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256,scalable}/apps +cp $PKG/opt/$PRGNAM/chrome/icons/default/default16.png \ + $PKG/usr/share/icons/hicolor/16x16/apps/zotero.png +cp $PKG/opt/$PRGNAM/chrome/icons/default/default32.png \ + $PKG/usr/share/icons/hicolor/32x32/apps/zotero.png +cp $PKG/opt/$PRGNAM/chrome/icons/default/default48.png \ + $PKG/usr/share/icons/hicolor/48x48/apps/zotero.png +cp $PKG/opt/$PRGNAM/chrome/icons/default/default256.png \ + $PKG/usr/share/icons/hicolor/256x256/apps/zotero.png +cp $PKG/opt/$PRGNAM/chrome/icons/default/main-window.ico \ + $PKG/usr/share/icons/hicolor/scalable/apps/zotero.ico + 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 @@ -83,7 +96,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/usr/share/applications -cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/academic/zotero/zotero.desktop b/academic/zotero/zotero.desktop index 24e542f95112..277ba1f7aaa8 100644 --- a/academic/zotero/zotero.desktop +++ b/academic/zotero/zotero.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=Application -Name=Zotero Standalone +Name=Zotero Icon=zotero Exec=zotero %f Categories=Office diff --git a/academic/zotero/zotero.info b/academic/zotero/zotero.info index 23d17ac4070f..0871b07963fc 100644 --- a/academic/zotero/zotero.info +++ b/academic/zotero/zotero.info @@ -1,10 +1,10 @@ PRGNAM="zotero" -VERSION="6.0.8" +VERSION="6.0.9" HOMEPAGE="https://www.zotero.org/" -DOWNLOAD="https://download.zotero.org/client/release/6.0.8/Zotero-6.0.8_linux-i686.tar.bz2" -MD5SUM="6415abe19eeaa97ad79d5d25017d06aa" -DOWNLOAD_x86_64="https://download.zotero.org/client/release/6.0.8/Zotero-6.0.8_linux-x86_64.tar.bz2" -MD5SUM_x86_64="c47b42e80372de384a135d33e993a67f" +DOWNLOAD="https://download.zotero.org/client/release/6.0.9/Zotero-6.0.9_linux-i686.tar.bz2" +MD5SUM="23aa90c7f9f9f327cc399bfaca20c80d" +DOWNLOAD_x86_64="https://download.zotero.org/client/release/6.0.9/Zotero-6.0.9_linux-x86_64.tar.bz2" +MD5SUM_x86_64="0ef4eca33b0615fff34ed7350c301a5c" REQUIRES="" MAINTAINER="Andrew Payne" EMAIL="phalange@komputermatrix.com" |