diff options
author | zxp19821005 | 2024-03-11 17:17:38 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-11 17:17:38 +0800 |
commit | 7ca770f541380255db3345ba2a217ccee6f8b839 (patch) | |
tree | df8ecf556f0534c10493bc8599de5e649cca7d05 /PKGBUILD | |
parent | b843666e210b4346e252e34b7bc2cc77d470203a (diff) | |
download | aur-7ca770f541380255db3345ba2a217ccee6f8b839.tar.gz |
fix errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -5,7 +5,7 @@ _pkgname=Wave _appname="${_pkgname} Terminal" pkgver=0.6.3 _electronversion=28 -pkgrel=2 +pkgrel=3 pkgdesc="An open-source, cross-platform terminal for seamless workflows" arch=('any') url="https://www.waveterm.dev/" @@ -32,11 +32,12 @@ source=( "${pkgname}.sh" ) sha256sums=('SKIP' - '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014') + 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8') build() { sed -e "s|@electronversion@|${_electronversion}|" \ -e "s|@appname@|${pkgname}|g" \ -e "s|@runname@|app|g" \ + -e "s|@options@||g" \ -i "${srcdir}/${pkgname}.sh" gendesk -f -n -q --categories="Utility" --name="${_appname}" --exec="${pkgname} %U" cd "${srcdir}/${pkgname}.git" @@ -50,6 +51,8 @@ build() { export ELECTRONVERSION="${_electronversion}" export npm_config_disturl=https://electronjs.org/headers HOME="${srcdir}/.electron-gyp" + mkdir -p "${srcdir}/.electron-gyp" + touch "${srcdir}/.electron-gyp/.yarnrc" yarn install --cache-folder "${srcdir}/.yarn_cache" scripthaus run electron-rebuild scripthaus run build-backend @@ -61,4 +64,4 @@ package() { cp -r "${srcdir}/${pkgname}.git/out/${_pkgname}-linux-"*/resources/app "${pkgdir}/usr/lib/${pkgname}" install -Dm644 "${srcdir}/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" install -Dm644 "${srcdir}/${pkgname}.git/src/app/assets/${pkgname}-logo.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" -} +}
\ No newline at end of file |