void-packages/srcpkgs/fuse3/template

31 lines
844 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.2.0
revision=1
build_style=meson
configure_args="--sbindir=bin"
wrksrc="fuse-${version}"
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="Filesystem in Userspace 3.x"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-2"
homepage="https://github.com/libfuse/libfuse"
distfiles="https://github.com/libfuse/libfuse/releases/download/fuse-${version}/fuse-${version}.tar.xz"
checksum=d11913032cbeaa40c80830bee97a6e7d0d9b1b9a5fbd58b0e4cee51bc19d848c
post_install() {
chmod u+s ${DESTDIR}/usr/bin/fusermount3
mv ${DESTDIR}/usr/share/man/man8/mount.fuse{,3}.8.gz
}
fuse3-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}