blob: ba1eb3de7a2fd6f9df6c4d5f87c0604db37f8c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Isaac Curtis <isaaccurtis1@gmail.com>
# Maintainer: Isaac Curtis <isaaccurtis1@gmail.com>
pkgname=zotero-beta
pkgver="5.0.18_beta.4+1cab2ba5f"
pkgrel=1
pkgdesc="Zotero Standalone. 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' 'gtk2' 'gtk3' 'gcc-libs' 'nss' 'libxt')
optdepends=('xpdf: PDF indexing')
conflicts=('zotero')
sha256sums=('8ec2a82b5c9b37e30cbe5ef968f5baa29e324a0e024a8cc28c38738ca3db7c7a')
sha256sums_i686=('076d33a14082f6a3be2e97439b2ed248d7ccaf687a254ccb296e504be36dd0e4')
sha256sums_x86_64=('1008a9b1066af8062decf0ec84bbc472cac6c67f5e95907c551aad7a4e1ca88c')
_ver=${pkgver//_/-}
_ver=${_ver//+/%2B}
install='zotero-beta.install'
source=("zotero-beta.desktop")
source_i686=("https://download.zotero.org/client/beta/${_ver}/Zotero-${_ver}_linux-i686.tar.bz2")
source_x86_64=("https://download.zotero.org/client/beta/${_ver}/Zotero-${_ver}_linux-x86_64.tar.bz2")
package() {
mkdir -p "$pkgdir"/usr/{bin,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-beta.desktop "$pkgdir"/usr/share/applications/zotero-beta.desktop
# Copy zotero icons to a standard location
install -Dm644 "$pkgdir"/usr/lib/zotero/chrome/icons/default/default16.png "$pkgdir"/usr/share/icons/hicolor/16x16/apps/zotero.png
install -Dm644 "$pkgdir"/usr/lib/zotero/chrome/icons/default/default32.png "$pkgdir"/usr/share/icons/hicolor/32x32/apps/zotero.png
install -Dm644 "$pkgdir"/usr/lib/zotero/chrome/icons/default/default48.png "$pkgdir"/usr/share/icons/hicolor/48x48/apps/zotero.png
}
|