# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=gsa pkgver=22.5.3 pkgrel=0 pkgdesc="Greenbone Security Assistant - The web frontend for the Greenbone Vulnerability Management (GVM) framework " url="https://github.com/greenbone/gsa" # riscv64: NonErrorEmittedError: (Emitted value instead of an instance of Error) [object Object] arch="noarch !riscv64" license="AGPL-3.0-or-later" options="net" makedepends="yarn nodejs-current" source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/gsa/archive/refs/tags/v$pkgver.tar.gz remove-husky-git-hook.patch " prepare() { default_prepare rm -rf build } build() { export NODE_OPTIONS="--openssl-legacy-provider" yarn yarn build } check() { return 0 } package() { mkdir -p "$pkgdir"/usr/share/gvm/gsad/web/ cp -r build/* "$pkgdir"/usr/share/gvm/gsad/web/ } sha512sums=" fb7ee8b65cfac67789fe392c5734ef2267f80a9f6ac42272e02f21b266f7933c06d5aef33bfa1bedf2782016e26ca849a764f7150ecc8cc6fa8d206c6dd1ae71 gsa-22.5.3.tar.gz 6ff01f63fa6c848a3529db812ee4e35c7e8e045365ea5391fc936f3ca4c1f2f960dd6a9346b092f07c42cb9e9e0f2576a334a8abe5e5afc83e49ce504d241d75 remove-husky-git-hook.patch "