void-packages/srcpkgs/fuse3/template
2017-11-15 08:05:43 +01:00

30 lines
844 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.2.1
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=524d5360a5a243a9579c4b5a8330a3ddd3176375fbfea417ce6b8b3db6aea273
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"
}
}