diff options
author | zxp19821005 | 2024-02-26 18:33:09 +0800 |
---|---|---|
committer | zxp19821005 | 2024-02-26 18:33:09 +0800 |
commit | 13a67d1aedc72e966be80925c289695ba4699ec8 (patch) | |
tree | 5bc16eb828aed7057cc8d660d90aa26137ca1418 | |
parent | 76b25cdc9830cd341a8834af6dfbf1e67b87d218 (diff) | |
download | aur-issie.tar.gz |
fix errors
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 13 insertions, 38 deletions
@@ -1,32 +1,17 @@ pkgbase = issie pkgdesc = An intuitive cross-platform hardware design application. pkgver = 4.1.0 - pkgrel = 4 + pkgrel = 5 url = https://tomcl.github.io/issie arch = any - license = GPL3 + license = GPL-3.0-only makedepends = nvm makedepends = npm makedepends = dotnet-sdk>=7 makedepends = gendesk makedepends = git - depends = expat - depends = at-spi2-core depends = nspr - depends = pango depends = nss - depends = cairo - depends = libxkbcommon - depends = libxcomposite - depends = libcups - depends = libxfixes - depends = libxdamage - depends = libx11 - depends = libxext - depends = libdrm - depends = mesa - depends = libxrandr - depends = libxcb depends = alsa-lib depends = gtk3 conflicts = issie @@ -4,31 +4,16 @@ pkgname=issie pkgver=4.1.0 _electronversion=24 _nodeversion=18 -pkgrel=4 +pkgrel=5 pkgdesc="An intuitive cross-platform hardware design application." arch=('any') url="https://tomcl.github.io/issie" _ghurl="https://github.com/tomcl/issie" -license=('GPL3') +license=('GPL-3.0-only') conflicts=("${pkgname}") depends=( - 'expat' - 'at-spi2-core' 'nspr' - 'pango' 'nss' - 'cairo' - 'libxkbcommon' - 'libxcomposite' - 'libcups' - 'libxfixes' - 'libxdamage' - 'libx11' - 'libxext' - 'libdrm' - 'mesa' - 'libxrandr' - 'libxcb' 'alsa-lib' 'gtk3' ) @@ -51,13 +36,18 @@ _ensure_local_nvm() { } build() { _ensure_local_nvm - gendesk -q -f -n --categories "Development" --name "${pkgname}" --exec "${pkgname} --no-sandbox %U" + gendesk -q -f -n --categories="Development" --name="${pkgname}" --exec="${pkgname} --no-sandbox %U" cd "${srcdir}/${pkgname}.git" export npm_config_build_from_source=true export npm_config_cache="${srcdir}/.npm_cache" - #export ELECTRON_SKIP_BINARY_DOWNLOAD=1 - #export SYSTEM_ELECTRON_VERSION="$(electron${_electronversion} -v | sed 's/v//g')" - #export ELECTRONVERSION="${_electronversion}" + export npm_config_build_from_source=true + export npm_config_cache="${srcdir}/.npm_cache" + export ELECTRON_SKIP_BINARY_DOWNLOAD=1 + export SYSTEM_ELECTRON_VERSION="$(electron${_electronversion} -v | sed 's/v//g')" + export npm_config_target="${SYSTEM_ELECTRON_VERSION}" + export ELECTRONVERSION="${_electronversion}" + export npm_config_disturl=https://electronjs.org/headers + HOME="${srcdir}/.electron-gyp" dotnet tool restore dotnet paket install npm install |