Changed md5sum to sha256sum. Changed mkdir to install

This commit is contained in:
Juanma Hernández 2017-11-13 21:14:17 +01:00
parent 5cbb5555b5
commit 09dabe9034
2 changed files with 9 additions and 9 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.25
pkgrel = 1
pkgrel = 2
url = http://www.zotero.org/download
install = zotero.install
arch = i686
@ -13,11 +13,11 @@ pkgbase = zotero
depends = nss
depends = libxt
source = zotero.desktop
md5sums = f227abe95940abd63367716928c6e379
sha256sums = 2e700ebe97d332a894be80d232b037b0117d84b38c5fa99dffc727cb10918228
source_i686 = Zotero-5.0.25_linux_x86_64.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=5.0.25
md5sums_i686 = a403d165d5c3b20b0c21eb72f48362a4
sha256sums_i686 = a49537ce54555b435d2dca89b8d38e5e63dd99861a5025cef219e1b6c75a34ac
source_x86_64 = Zotero-5.0.25_linux_x86_64.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=5.0.25
md5sums_x86_64 = 34ab0dbfe2f7a60093c5d5982e3d91bd
sha256sums_x86_64 = 1321a3951f58d339e8bfd2314c25032f68a663caa09f11feb591dc2e502978f8
pkgname = zotero

View file

@ -3,16 +3,16 @@
pkgname=zotero
pkgver=5.0.25
pkgrel=1
pkgrel=2
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' 'gtk2' 'gtk3' 'nss' 'libxt')
md5sums=('f227abe95940abd63367716928c6e379')
md5sums_i686=('a403d165d5c3b20b0c21eb72f48362a4')
md5sums_x86_64=('34ab0dbfe2f7a60093c5d5982e3d91bd')
sha256sums=('2e700ebe97d332a894be80d232b037b0117d84b38c5fa99dffc727cb10918228')
sha256sums_i686=('a49537ce54555b435d2dca89b8d38e5e63dd99861a5025cef219e1b6c75a34ac')
sha256sums_x86_64=('1321a3951f58d339e8bfd2314c25032f68a663caa09f11feb591dc2e502978f8')
install='zotero.install'
@ -21,7 +21,7 @@ source_i686=("Zotero-${pkgver}_linux_$CARCH.tar.bz2::https://www.zotero.org/down
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}
install -dDm755 "$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.desktop "$pkgdir"/usr/share/applications/zotero.desktop