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.. not very nice and currently failing 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="aws-cli curl nodejs perl openssh python python3 rsync 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-standalon-build-${version}.tar.gz" checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7" post_extract() { mv ../${pkgname}-build-${_zotero_build_hash} zotero-build mv ../${pkgname}-standalone-build-${version} zotero-standalone-build } do_build() { npm i npm run build cd zotero-standalone-build ./fetch_mar_tools scripts/check_requirements ./fetch_xulrunner.sh -p m ./fetch_pdftools scripts/dir_build } do_install() { npm } ```