From 3320b656c0bf8cec16205432371f64333018fb17 Mon Sep 17 00:00:00 2001 From: xpamych Date: Mon, 14 Nov 2022 15:29:18 +0300 Subject: [PATCH] =?UTF-8?q?WebCord=20=D0=BD=D0=B0=D1=87=D0=B0=D0=BB=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webcord/lure.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/webcord/lure.sh b/webcord/lure.sh index 89caa6a..a3e2db8 100644 --- a/webcord/lure.sh +++ b/webcord/lure.sh @@ -1,3 +1,34 @@ name=webcord version=3.9.3 release=1 +desc='A Discord and Fosscord client made with the Electron API.' +homepage='https://github.com/SpacingBat3/Webcord' +architectures='any' +licenses='MIT' +provides='webcord' +conflicts='webcord' + +deps=('electron20') + +sources=("https://github.com/SpacingBat3/WebCord/archive/refs/tags/v3.9.3.tar.gz") +checksums=('SKIP') + +prepare() { +npm i --ignore-scripts --prefix=. \ +"@tsconfig/node16-strictest@^1.0.0" \ +"@types/dompurify@^2.3.3" \ +"@types/marked@^4.0.2" \ +"@types/node@^18.6.4" \ +"@types/pkgjs__parseargs@^0.10.0" \ +"@types/semver@^7.3.9" \ +"@types/source-map-support@^0.5.4" \ +"@types/spdx-expression-parse@^3.0.1" \ +"@types/ws@^8.5.1" \ +"electron@>=13.0.0 <22.0.0" + +rm -r "node_modules/electron/node_modules/@types/node" + +cd "${_srcname}" +npm ci --omit=dev --ignore-scripts --prefix=. +rm -r "sources/code/build" +} \ No newline at end of file