void-packages/srcpkgs/fuse3/template

35 lines
1.0 KiB
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.15.1
revision=1
build_style=meson
configure_args="--sbindir=bin -Db_lto=false -Dexamples=false -Duseroot=false
-Dtests=false"
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="Filesystem in Userspace 3.x"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/libfuse/libfuse"
changelog="https://raw.githubusercontent.com/libfuse/libfuse/master/ChangeLog.rst"
distfiles="https://github.com/libfuse/libfuse/releases/download/fuse-${version}/fuse-${version}.tar.gz"
checksum=13ef77cda531a21c2131f9576042970e98035c0a5f019abf661506efd2d38a4e
conf_files="/etc/fuse.conf"
# Tests require root
make_check=no
post_install() {
chmod u+s ${DESTDIR}/usr/bin/fusermount3
rm ${DESTDIR}/etc/init.d/fuse3
}
fuse3-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}