void-packages/srcpkgs/fuse3/template

31 lines
844 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.2.2
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=76836c3e458fa971ee354057bfaef84df7a876afe60492dda9b30e7dcad9c887
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"
}
}