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 _zotero_translators_hash=f0c32b0f8ac8d86291ddf7d5f0d27f75c64d5f69 revision=1 create_wrksrc=yes hostmakedepends="curl git 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/translators/archive/${_zotero_translators_hash}.tar.gz>translators-${_zotero_translators_hash}.tar.gz https://github.com/zotero/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalone-build-${version}.tar.gz" checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f 2f0f0f388802f951665253ad5d6937f63df62840c656b2cd5601cde5a7d185bd 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7" post_extract() { mv zotero-${version} zotero-client mv zotero-build-${_zotero_build_hash} zotero-build mv translators-${_zotero_translators_hash} translators mv zotero-standalone-build-${version} zotero-standalone-build } do_build() { cd zotero-client npm i npm run build cd ../zotero-standalone-build # We do not have /usr/bin/mar (xultools?) ./fetch_mar_tools ./fetch_xulrunner.sh -p l ./fetch_pdftools # Hack the git revision check because we did not git clone but download vsed -i scripts/dir_build -e"s;hash=.*;hash=Void-${pkgname}-${version}_${revision};" scripts/dir_build } 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.