diff options
author | AlphaJack | 2024-03-19 01:51:56 +0100 |
---|---|---|
committer | AlphaJack | 2024-03-19 01:51:56 +0100 |
commit | 0cd5efa2cc1d9c31fcb8699da51360e8dbb67762 (patch) | |
tree | 7825486d076c764415b18cddc6e7c342ac956f88 | |
parent | 122412128345dc47e4676d65c73c60712eb81fbd (diff) | |
download | aur-pretzel-web.tar.gz |
Using pretzelai.github.io zip archive
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 5 insertions, 14 deletions
@@ -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 @@ -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" } |