makedeb


zotero 6.0.35-1


Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

Click here to go back to the commit logs for zotero.

Commit:


Hash: 386207874c5f2b76640cd6020b754a92f76225bb

Message: version update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index e4e4747..416b0df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = zotero
 postinst = zotero.install
 pkgbase = zotero
 pkgdesc = Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
-pkgrel = 2
+pkgrel = 3
 pkgver = 6.0.5
 url = https://www.zotero.org/download
 arch = amd64
@@ -12,9 +12,9 @@ depends = libgtk-3-0
 depends = libnss3
 depends = libxt6
 license = AGPL3
+source = Zotero-6.0.5_linux_x86_64.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=6.0.5
 source = zotero.desktop
 source = zotero.install
+sha512sums = 568583c44436d9830e0b9271bfaedf7380556498c757de0bcea07ba97202aa853f92501c9aa755637ba4810d266a43c2ee17a1eedef564d22821e7f4ee337ff0
 sha512sums = e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb
 sha512sums = f5155d464a1e8fab71b92b62eebe9001788f7baf792413a08634c897c9ff35daadb418a0c11f2980d45ef2c00c0223062b58f46c450b962208e2ccca4d4d6f9e
-source_amd64 = Zotero-6.0.5_linux_x86_64.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=6.0.5
-sha512sums_amd64 = 568583c44436d9830e0b9271bfaedf7380556498c757de0bcea07ba97202aa853f92501c9aa755637ba4810d266a43c2ee17a1eedef564d22821e7f4ee337ff0
diff --git a/PKGBUILD b/PKGBUILD
index a423e7e..f660536 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,21 @@
 # Maintainer:  only_vip <onlyme_vip@protonmail.com>
 pkgname=zotero
 pkgver=6.0.5
-pkgrel=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=('amd64')
 url="https://www.zotero.org/download"
 license=('AGPL3')
 depends=('libdbus-glib-1-2' 'libgtk-3-0' 'libnss3' 'libxt6')
 
-source=("zotero.desktop"
+source=("Zotero-${pkgver}_linux_$CARCH.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-$CARCH&version=${pkgver}"
+    "zotero.desktop"
         "zotero.install")
-sha512sums=('e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb'
-            'f5155d464a1e8fab71b92b62eebe9001788f7baf792413a08634c897c9ff35daadb418a0c11f2980d45ef2c00c0223062b58f46c450b962208e2ccca4d4d6f9e')
-source_amd64=("Zotero-${pkgver}_linux_$CARCH.tar.bz2::https://www.zotero.org/download/client/dl?channel=release&platform=linux-$CARCH&version=${pkgver}")
-sha512sums_amd64=("568583c44436d9830e0b9271bfaedf7380556498c757de0bcea07ba97202aa853f92501c9aa755637ba4810d266a43c2ee17a1eedef564d22821e7f4ee337ff0")
+sha512sums=("568583c44436d9830e0b9271bfaedf7380556498c757de0bcea07ba97202aa853f92501c9aa755637ba4810d266a43c2ee17a1eedef564d22821e7f4ee337ff0"
+    "e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb"
+            "f5155d464a1e8fab71b92b62eebe9001788f7baf792413a08634c897c9ff35daadb418a0c11f2980d45ef2c00c0223062b58f46c450b962208e2ccca4d4d6f9e")
+#source_amd64=()
+#sha512sums_amd64=()
 postinst='zotero.install'
 
 
@@ -21,7 +23,7 @@ package() {
   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 "../zotero.desktop" "${pkgdir}/usr/share/applications/zotero.desktop"
+  install -Dm644 "${srcdir}/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
   # 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"