mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
a1116c4ed8
commit
2481f28824
2 changed files with 32 additions and 0 deletions
30
srcpkgs/tinymist/template
Normal file
30
srcpkgs/tinymist/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'tinymist'
|
||||||
|
pkgname=tinymist
|
||||||
|
version=0.12.18
|
||||||
|
revision=1
|
||||||
|
build_style=cargo
|
||||||
|
build_helper="qemu"
|
||||||
|
configure_args="--features=cli --bin tinymist --bin typlite"
|
||||||
|
depends="typst"
|
||||||
|
short_desc="Integrated language service for Typst"
|
||||||
|
maintainer="classabbyamp <void@placeviolette.net>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://myriad-dreamin.github.io/tinymist/"
|
||||||
|
distfiles="https://github.com/Myriad-Dreamin/tinymist/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=2b31e22fa67a253ebb06526018c890b2b2f03b45d0870a142d4b98a56ecdefb5
|
||||||
|
# takes forever
|
||||||
|
make_check=no
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then
|
||||||
|
broken="atomic64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin target/${RUST_TARGET}/release/tinymist
|
||||||
|
vbin target/${RUST_TARGET}/release/typlite
|
||||||
|
|
||||||
|
for sh in bash fish zsh; do
|
||||||
|
vtargetrun "${DESTDIR}"/usr/bin/tinymist completion "$sh" > "comp.$sh"
|
||||||
|
vcompletion "comp.$sh" "$sh"
|
||||||
|
done
|
||||||
|
}
|
2
srcpkgs/tinymist/update
Normal file
2
srcpkgs/tinymist/update
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# odd patches are nightlies
|
||||||
|
pattern='/archive/refs/tags/(v?|\Qtinymist\E)?\K[\d.]+\.\d*[02468](?=\.tar\.gz)'
|
Loading…
Add table
Reference in a new issue