build-essential package installed in your system to build dependencies
that sounds like a a debian/ubuntu thing, the closest archlinux has is probably base-devel .
latest release of chibisafe was in 2017 and ffmpeg has changed considerably since then, have you checked which versions it supports ?
node version 12.18.2+ (we recommend using volta.sh
nodejs-lts-fermium ( 14.21.3-1 ) is the oldest node version archlinux still has in repos.
Are you sure you want to use this software ?
]]># Maintainer: Your name <your email>
pkgname=chibisafe
pkgver=3.0.0
pkgrel=1
pkgdesc="Blazing fast file uploader and awesome bunker written in node.js"
arch=('any')
url="https://github.com/chibisafe/chibisafe"
license=('MIT')
depends=('nodejs' 'npm' 'ffmpeg' 'redis' 'postgresql')
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "$srcdir/$pkgname"
install -d "$pkgdir/usr/share/$pkgname"
cp -r ./* "$pkgdir/usr/share/$pkgname"
}
post_install() {
echo "To configure and run chibisafe, please follow these steps:"
echo "1. cd /usr/share/chibisafe"
echo "2. Run npm i to install the node modules."
echo "3. Run npm run setup to configure chibisafe."
echo "4. Check the nginx file for a sample configuration that has every step to run chibisafe securely on production."
echo "5. Start chibisafe by using pm2 start pm2.json"
}