Update to version 5.0.2. Applied suggested changes in comments and in namcap

This commit is contained in:
Juanma Hernández 2017-07-13 07:10:01 +02:00
parent 69ff7bf626
commit a02e7011f3
2 changed files with 18 additions and 19 deletions

View file

@ -1,7 +1,7 @@
pkgbase = zotero
pkgdesc = Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
pkgver = 5.0.1
pkgrel = 1
pkgver = 5.0.2
pkgrel = 3
url = http://www.zotero.org/download
install = zotero.install
arch = i686
@ -12,10 +12,12 @@ pkgbase = zotero
depends = gtk2
depends = gcc-libs
depends = nss
source = http://download.zotero.org/standalone/5.0.1/Zotero-5.0.1_linux-x86_64.tar.bz2
source = zotero.desktop
md5sums = 969dbbc0bfaf1385d455d7fcae22e109
md5sums = f227abe95940abd63367716928c6e379
source_i686 = Zotero-5.0.2_linux_x86_64.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=5.0.2
md5sums_i686 = 1dd4fba22dc4718359e789d9df2b4afd
source_x86_64 = Zotero-5.0.2_linux_x86_64.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=5.0.2
md5sums_x86_64 = b154fa051050c6cb4431dacca0278ba8
pkgname = zotero

View file

@ -2,30 +2,27 @@
# Maintainer: Juanma Hernandez <juanmah@gmail.com>
pkgname=zotero
pkgver=5.0.1
pkgrel=1
pkgver=5.0.2
pkgrel=3
pkgdesc="Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources."
arch=('i686' 'x86_64')
url="http://www.zotero.org/download"
license=('GPL3')
depends=('dbus-glib' 'alsa-lib' 'gtk2' 'gcc-libs' 'nss')
if [[ $CARCH == "x86_64" ]]
then
_arch=x86_64
md5sums=('969dbbc0bfaf1385d455d7fcae22e109'
'f227abe95940abd63367716928c6e379')
else
_arch=i686
md5sums=('a8dc90f2c894581afd0afb11294f8882'
'f227abe95940abd63367716928c6e379')
fi
md5sums=('f227abe95940abd63367716928c6e379')
md5sums_i686=('1dd4fba22dc4718359e789d9df2b4afd')
md5sums_x86_64=('b154fa051050c6cb4431dacca0278ba8')
install='zotero.install'
source=("http://download.zotero.org/standalone/$pkgver/Zotero-${pkgver}_linux-${_arch}.tar.bz2"
"zotero.desktop")
source=("zotero.desktop")
source_i686=("Zotero-${pkgver}_linux_$CARCH.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-$CARCH&version=${pkgver}")
source_x86_64=("Zotero-${pkgver}_linux_$CARCH.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-$CARCH&version=${pkgver}")
package() {
mkdir -p "$pkgdir"/usr/{bin,lib/zotero}
mv "$srcdir"/Zotero_linux-$_arch/* "$pkgdir"/usr/lib/zotero
mv "$srcdir"/Zotero_linux-$CARCH/* "$pkgdir"/usr/lib/zotero
ln -s /usr/lib/zotero/zotero "$pkgdir"/usr/bin/zotero
install -Dm644 "$srcdir"/zotero.desktop "$pkgdir"/usr/share/applications/zotero.desktop
# Copy zotero icons to a standard location