1 # Contributor: Juanma Hernandez <juanmah@gmail.com>
2 # Maintainer: Juanma Hernandez <juanmah@gmail.com>
7 pkgdesc='Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.'
9 url='http://www.zotero.org/support/standalone'
12 [ "$CARCH" = "x86_64" ] && _arch=x86_64
13 source=(http://download.zotero.org/standalone/$pkgver/Zotero-${pkgver}_linux-${_arch}.tar.bz2)
14 md5sums=('a869c94a9921c7b8caf07b3257636365')
15 [ "$CARCH" = "x86_64" ] && md5sums=('9144abdf5e6c855451df07cbffd08cd0')
19 mkdir -p $pkgdir/usr/lib/zotero
20 mkdir -p $pkgdir/usr/bin
21 mv $srcdir/Zotero_linux-$_arch/* $pkgdir/usr/lib/zotero
22 ln -s /usr/lib/zotero/run-zotero.sh $pkgdir/usr/bin/zotero
23 sed -i -e 's/MOZ_APPRUNNER_NAME=".\/zotero"/MOZ_APPRUNNER_NAME="\/usr\/lib\/zotero\/zotero"/g' $pkgdir/usr/lib/zotero/run-zotero.sh