All checks were successful
Build / Build project (push) Successful in 8m39s
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name : pagefind
|
||
version : 1.3.0
|
||
release : 1
|
||
source :
|
||
- https://github.com/CloudCannon/pagefind/archive/refs/tags/v1.3.0.tar.gz : d171b75b6d255a5e5e7c36584509417ab3cc73936d5d851660dc93aa8eecf32b
|
||
license : MIT
|
||
component : programming.tools
|
||
homepage : https://pagefind.app/
|
||
summary : Generate low-bandwidth search index for your static website
|
||
description: |
|
||
Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.
|
||
builddeps :
|
||
- nodejs
|
||
- rustup
|
||
- wasm-pack
|
||
networking : yes
|
||
setup : |
|
||
rustup default stable
|
||
rustup target add wasm32-unknown-unknown
|
||
|
||
(
|
||
cd pagefind_web_js
|
||
npm i
|
||
npm run build-coupled
|
||
)
|
||
|
||
(
|
||
cd pagefind_ui/default
|
||
npm i
|
||
npm run build
|
||
)
|
||
|
||
(
|
||
cd pagefind_ui/modular
|
||
npm i
|
||
npm run build
|
||
)
|
||
|
||
(
|
||
cd pagefind_web
|
||
bash ./local_build.sh
|
||
)
|
||
|
||
%cargo_fetch
|
||
build : |
|
||
%cargo_build
|
||
install : |
|
||
%cargo_install
|