Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions srcpkgs/dprint/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Template file for 'dprint'
pkgname=dprint
version=0.64.3
revision=1
build_style=cargo
build_helper="qemu"
make_install_args="--path crates/dprint"
# test tries to use "ps" which is not in PATH
make_check_args="-- --skip gets_process_ids"
hostmakedepends="pkg-config"
makedepends="libzstd-devel"
short_desc="Code formatting platform that unifies different formatters"
maintainer="Bnyro <bnyro@tutanota.com>"
license="MIT"
homepage="https://dprint.dev"
changelog="https://github.com/dprint/dprint/releases"
distfiles="https://github.com/dprint/dprint/archive/refs/tags/${version}.tar.gz"
checksum=5aca2a32a9a69fa2a6d0abf7732f1ce394a93d239fbd0e3e82982b90f77d8f19

post_install() {
vlicense LICENSE

for sh in bash fish zsh; do
vtargetrun "${DESTDIR}/usr/bin/dprint" completions "$sh" > "dprint.$sh"
vcompletion "dprint.$sh" "$sh"
done
}
Loading