void-packages/srcpkgs/mergerfs/template

24 lines
670 B
Bash

# Template file for 'mergerfs'
pkgname=mergerfs
version=2.34.1
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="Pulux <pulux@pf4sh.eu>"
license="ISC"
homepage="https://github.com/trapexit/mergerfs"
distfiles="https://github.com/trapexit/mergerfs/releases/download/${version}/mergerfs-${version}.tar.gz"
checksum=57e09ed53dc2cd591d7e6a0b291588ba0917ccaddd1226371c99630dc7de795c
pre_build() {
# we build from source, spoof release tarball
vsed -i "s|^VERSION=.*|VERSION=$pkgver|" tools/update-version
}
post_install() {
vlicense LICENSE
}