New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/issues/21434#issuecomment-621414192 Comment: I've also been trying to package this.. based on [this description](https://www.zotero.org/support/dev/client_coding/building_the_standalone_client). Not very nice and currently failing in `scripts/check_requirements` at checking `AWS S3 Access: Unable to locate credentials. You can configure credentials by running "aws configure".` Current template: ``` # Template file for 'zotero' pkgname=zotero version=5.0.85 _zotero_build_hash=468b2a1f48b736b0d460dccdf8e57bf6edc47aa5 revision=1 hostmakedepends="curl nodejs perl openssh python python3 rsync tar unzip wget which zip" makedepends="mozjs60-devel" short_desc="Tool to help collect, organize, cite, and share research sources" maintainer="Jürgen Buchmüller " license="AGPL-3.0-or-later" homepage="https://www.zotero.org/" distfiles="https://github.com/zotero/zotero/archive/${version}.tar.gz>zotero-${version}.tar.gz https://github.com/zotero/zotero-build/archive/${_zotero_build_hash}.tar.gz>zotero-build-${_zotero_build_hash}.tar.gz https://github.com/zotero/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalone-build-${version}.tar.gz" checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7" post_extract() { mv ../zotero-build-${_zotero_build_hash} zotero-build mv ../zotero-standalone-build-${version} zotero-standalone-build } do_build() { npm i npm run build cd zotero-standalone-build # We do not have /usr/bin/mar (xultools?) ./fetch_mar_tools # Do not use unzip - it chokes on omni.ja vsed -i fetch_xulrunner.sh -e"s;unzip omni.ja;bsdtar xf omni.ja;" ./fetch_xulrunner.sh -p l ./fetch_pdftools ./build.sh -d ../zotero-build -s -p l } do_install() { # TODO : } ``` Uh, okay, now I see the `scripts/check_requirements` is for the official build. For packaging this script does not need to be run.