void-packages/srcpkgs/fuse3/template
2019-03-09 17:52:54 -03:00

30 lines
864 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.4.2
revision=1
wrksrc="fuse-${version}"
build_style=meson
configure_args="--sbindir=bin -Db_lto=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"
distfiles="https://github.com/libfuse/libfuse/releases/download/fuse-${version}/fuse-${version}.tar.xz"
checksum=224dd4a598e23e114395a9717bc79638ab2b1e42c82ae8210aed9365aff325a3
conf_files="/etc/fuse.conf"
post_install() {
chmod u+s ${DESTDIR}/usr/bin/fusermount3
}
fuse3-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}