summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlphaJack2024-03-19 01:51:56 +0100
committerAlphaJack2024-03-19 01:51:56 +0100
commit0cd5efa2cc1d9c31fcb8699da51360e8dbb67762 (patch)
tree7825486d076c764415b18cddc6e7c342ac956f88
parent122412128345dc47e4676d65c73c60712eb81fbd (diff)
downloadaur-pretzel-web.tar.gz
Using pretzelai.github.io zip archive
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD14
2 files changed, 5 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e93f697ae5b3..8f62a35c5f18 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = pretzel-web
pkgdesc = Open-source, browser-local data exploration using DuckDB-Wasm and PRQL
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://pretzelai.github.io/
arch = any
license = Apache-2.0
- makedepends = npm
- source = pretzel-web.tar.gz::https://github.com/pretzelai/pretzelai/archive/refs/heads/main.tar.gz
+ source = pretzel-web.zip::https://github.com/pretzelai/pretzelai.github.io/archive/refs/heads/main.zip
b2sums = SKIP
pkgname = pretzel-web
diff --git a/PKGBUILD b/PKGBUILD
index fd1ddaa43b11..534a93e01c17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,15 @@
pkgname="pretzel-web"
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Open-source, browser-local data exploration using DuckDB-Wasm and PRQL"
url="https://pretzelai.github.io/"
license=("Apache-2.0")
arch=("any")
-makedepends=("npm")
-source=("$pkgname.tar.gz::https://github.com/pretzelai/pretzelai/archive/refs/heads/main.tar.gz")
+source=("$pkgname.zip::https://github.com/pretzelai/pretzelai.github.io/archive/refs/heads/main.zip")
b2sums=("SKIP")
-build(){
- cd "pretzelai-main"
- npm install
- npm run build
-}
-
package(){
- cd "pretzelai-main"
install -d "$pkgdir/usr/share/webapps"
- mv "build" "$pkgdir/usr/share/webapps/pretzel"
+ mv "pretzelai.github.io-main" "$pkgdir/usr/share/webapps/pretzel"
}