zotero: upgrade to 20240131

This commit is contained in:
Antoine Martin 2024-01-31 14:54:14 -05:00
parent 4ad3ef905b
commit eb25e86ee2
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,16 +1,15 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net> # Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=zotero pkgname=zotero
pkgver=7.0.0_git20230415 pkgver=7.0.0_git20240131
pkgrel=0 pkgrel=0
pkgdesc="A free, easy-to-use tool to help you collect, organize, cite, and share your research sources." pkgdesc="A free, easy-to-use tool to help you collect, organize, cite, and share your research sources."
# fix firefox # fix firefox
#arch="x86_64" #arch="x86_64"
url="https://github.com/zotero/zotero" url="https://github.com/zotero/zotero"
_giturl="https://lab.ilot.io/mirrors/zotero" _giturl="https://lab.ilot.io/mirrors/zotero"
_gittag_client=7.0.0_20230415 _gittag_client=7.0.0._20240131
_gittag_standalone=7.0.0_20230415 _gittag_build=20240131
_gittag_build=20230314
license="AGPL3" license="AGPL3"
depends=" depends="
dbus-glib dbus-glib
@ -33,7 +32,6 @@ source="
zotero.desktop zotero.desktop
xulrunner-get-alpine-firefox.diff xulrunner-get-alpine-firefox.diff
$_giturl-client/-/releases/$_gittag_client/downloads/tarball/zotero-client-$_gittag_client.tar.gz $_giturl-client/-/releases/$_gittag_client/downloads/tarball/zotero-client-$_gittag_client.tar.gz
$_giturl-standalone-build/-/releases/$_gittag_standalone/downloads/tarball/zotero-standalone-build-$_gittag_standalone.tar.gz
$_giturl-build/-/releases/$_gittag_build/downloads/tarball/zotero-build-$_gittag_build.tar.gz $_giturl-build/-/releases/$_gittag_build/downloads/tarball/zotero-build-$_gittag_build.tar.gz
" "
builddir="$srcdir"/zotero-client-$_gittag_client builddir="$srcdir"/zotero-client-$_gittag_client
@ -50,22 +48,27 @@ prepare() {
npm i --legacy-peer-deps npm i --legacy-peer-deps
cd "$srcdir"/zotero-standalone-build*
patch -p1 -i "$srcdir"/xulrunner-get-alpine-firefox.diff
# We need to had '.git/HEAD' and '.git/config' to the archive as the build expects those # We need to had '.git/HEAD' and '.git/config' to the archive as the build expects those
mkdir .git mkdir .git
echo '[remote "origin"]\nurl="http://github.com/zotero/zotero-standalone-build"' > .git/config echo '[remote "origin"]\nurl="http://github.com/zotero/zotero-standalone-build"' > .git/config
echo "$_gittag_standalone" > .git/HEAD echo "$_gittag_client" > .git/HEAD
./fetch_xulrunner.sh -p l (
./fetch_pdftools cd "$builddir"/app
patch -p1 -i "$srcdir"/xulrunner-get-alpine-firefox.diff
./fetch_xulrunner.sh -p l
./fetch_pdftools
)
} }
build() { build() {
NODE_OPTIONS=--openssl-legacy-provider npm run build NODE_OPTIONS=--openssl-legacy-provider npm run build
cd "$srcdir"/zotero-standalone-build* (
scripts/dir_build -p l cd "$srcdir"/app
scripts/dir_build -p l
)
} }
package() { package() {
@ -88,7 +91,6 @@ package() {
sha512sums=" sha512sums="
e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb zotero.desktop e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb zotero.desktop
1002732c348e3caceb077b8595a3a8b5c15dc17bc9c443e8dc96f8efe82ee37d9b5d7241530d82188846007504a277fd261763a4c64c3c259d9130db3139043d xulrunner-get-alpine-firefox.diff 1002732c348e3caceb077b8595a3a8b5c15dc17bc9c443e8dc96f8efe82ee37d9b5d7241530d82188846007504a277fd261763a4c64c3c259d9130db3139043d xulrunner-get-alpine-firefox.diff
88ae8204fde34bd6b1595ddddc153ded3a3bfcaeb5d65ffd8398d58f41787ddd2ff35051c4f74e0c83483b6ec234f1bf987acbebccfe73ad31be5cb4b55cc403 zotero-client-7.0.0_20230415.tar.gz 27ca570df108cb9ffa48254f7cc5ef133371dcab652a12b2f636b87a2378d51afa6c118533d8b1779071441fa2b26663d2275db9d441f17dc7431dfdc90996ea zotero-client-7.0.0._20240131.tar.gz
2dad54ac1a75e9ed62eec9fe08081e6807ce0167992059d3b7cd7aee3fb4803c694dc852ffe27f82cbe162c7536f2d77c302a8f947b507c6548f729a8c9d3057 zotero-standalone-build-7.0.0_20230415.tar.gz d7845eb78ca786e4010cd5d24821831613bdc0f67aec5572f5d024f0a47187d5e85956ffade54c43ff4edfb43e11cb79b0a495ce30452a124cb5086bf7f4be2d zotero-build-20240131.tar.gz
8379985c0da84d82bdba72a03daaf3afe80a30ef696a2da837cff12b23fdec75b62dd43061ede4687c6acc756181ecefd0a025a7fedce500137faba4ae3326ae zotero-build-20230314.tar.gz
" "