void-packages/srcpkgs/dufs/template

26 lines
848 B
Bash
Raw Normal View History

2023-12-05 01:56:45 +01:00
# Template file for 'dufs'
pkgname=dufs
2024-11-12 12:48:16 +01:00
version=0.43.0
2023-12-05 01:56:45 +01:00
revision=1
build_style=cargo
build_helper=qemu
# test fails in ci
make_check_args="-- --skip bind_ipv4_ipv6"
hostmakedepends="pkg-config"
makedepends="bzip2-devel liblzma-devel"
short_desc="File server that supports static serving, uploading, searching, etc"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/sigoden/dufs"
changelog="https://raw.githubusercontent.com/sigoden/dufs/main/CHANGELOG.md"
distfiles="https://github.com/sigoden/dufs/archive/v${version}.tar.gz"
2024-11-12 12:48:16 +01:00
checksum=4ba3b90486336efc4e592bcf15f14d4e3b6ac7b3b1bf8770815b8c43975d8b01
2023-12-05 01:56:45 +01:00
post_install() {
vlicense LICENSE-MIT
for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/dufs --completions ${shell} > dufs.${shell}
vcompletion dufs.${shell} ${shell}
done
}