diff --git a/repo/quarto-cli/000_deno_1.41.diff b/repo/quarto-cli/000_deno_1.41.diff new file mode 100644 index 0000000..6e14f64 --- /dev/null +++ b/repo/quarto-cli/000_deno_1.41.diff @@ -0,0 +1,12 @@ +diff -ur quarto-cli-1.4.551.orig/src/project/types/website/website-search.ts quarto-cli-1.4.551/src/project/types/website/website-search.ts +--- quarto-cli-1.4.551.orig/src/project/types/website/website-search.ts 2024-03-06 11:25:25.000000000 +1300 ++++ quarto-cli-1.4.551/src/project/types/website/website-search.ts 2024-03-06 22:04:38.498170207 +1300 +@@ -8,7 +8,7 @@ + import { basename, join, relative } from "path/mod.ts"; + + // currently not building the index here so not using fuse +-// @deno-types="fuse/dist/fuse.d.ts" ++// + // import Fuse from "fuse/dist/fuse.esm.min.js"; + + import { DOMParser, Element, initDenoDom } from "../../../core/deno-dom.ts"; diff --git a/repo/quarto-cli/PKGBUILD b/repo/quarto-cli/PKGBUILD index 2c0b278..34c56d5 100644 --- a/repo/quarto-cli/PKGBUILD +++ b/repo/quarto-cli/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Aleksandr Beliaev pkgname=quarto-cli -pkgver=1.4.550 -pkgrel=1 +pkgver=1.4.551 +pkgrel=3 _pkgbasename=quarto-cli _denodomver="0.1.35-alpha-artifacts" _deno_arch="deno-x86_64-unknown-linux-gnu" @@ -18,10 +18,16 @@ options=(!strip) source=("${_pkgbasename}-${pkgver}.tar.gz::https://github.com/quarto-dev/quarto-cli/archive/refs/tags/v${pkgver}.tar.gz" "https://github.com/b-fuze/deno-dom/archive/refs/tags/v${_denodomver}.tar.gz" + "000_deno_1.41.diff" ) -sha256sums=('812d0bb68d7ffb42fc8343f0bd60b46bb0bc1b23e021a30357eeb3f286c600a8' - '14fb042a6912041b9fda91fd643cf278764d075bc9539aa1e107475915cd896c') +sha256sums=('fde25148b2f50efd184f203f1e110a5e60b8e716755e1f6ea572ce912286631c' + '14fb042a6912041b9fda91fd643cf278764d075bc9539aa1e107475915cd896c' + 'd09e82634e6b64359c54d3a99b8abb4503cea3c62ef30b46d02ffcfde718d36c') +prepare() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + patch -p1 < ../000_deno_1.41.diff +} build() { cd "${srcdir}/${_pkgbasename}-${pkgver}"