void-packages/srcpkgs/fuse3/template

31 lines
844 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.2.3
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=70375bbaedc0aef243164f9088edbe01719c13650cd65ff2242e97fd07df77d6
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"
}
}