void-packages/srcpkgs/fuse3/template
2021-09-29 19:34:08 -03:00

33 lines
973 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.10.5
revision=1
wrksrc="fuse-${version}"
build_style=meson
configure_args="--sbindir=bin -Db_lto=false -Dexamples=false -Duseroot=false"
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="Filesystem in Userspace 3.x"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/libfuse/libfuse"
distfiles="https://github.com/libfuse/libfuse/releases/download/fuse-${version}/fuse-${version}.tar.xz"
checksum=b2e283485d47404ac896dd0bb7f7ba81e1470838e677e45f659804c3a3b69666
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"
}
}