void-packages/srcpkgs/mergerfs/template

24 lines
624 B
Bash

# Template file for 'mergerfs'
pkgname=mergerfs
version=2.31.0
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="automake libtool pkg-config which"
makedepends="fuse-devel"
short_desc="FUSE union filesystem"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/trapexit/mergerfs"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=753cee325b333eebd448795e2702f50b24b24e12a86c547fe8eceff4b3311cd4
pre_build() {
# we build from source, spoof release tarball
vsed -i "s|^VERSION=.*|VERSION=$pkgver|" tools/update-version
}
post_install() {
vlicense LICENSE
}