build: correct order of building

This commit is contained in:
2026-03-06 01:31:53 +02:00
parent 90a78e99e7
commit 2563391aaf
2 changed files with 6 additions and 6 deletions

View File

@@ -17,11 +17,10 @@ source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgbase-$
build() {
cd "$pkgbase-$pkgver"
python -m build --wheel --no-isolation
npm --prefix "frontend" install --cache "$srcdir/npm-cache"
npm --prefix "frontend" run build
cd "frontend"
npm install --cache "$srcdir/npm-cache"
npm run build
python -m build --wheel --no-isolation
}
package_ahriman() {