From 09dabe903471bb50c109e7733ba10226b1418297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanma=20Hern=C3=A1ndez?= Date: Mon, 13 Nov 2017 21:14:17 +0100 Subject: [PATCH] Changed md5sum to sha256sum. Changed mkdir to install --- .SRCINFO | 8 ++++---- PKGBUILD | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0ecd29dc3dac..254c5993e1d7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index bd90a838e119..ae351d525f98 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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