29 lines
760 B
Bash
29 lines
760 B
Bash
# Template file for 'mergerfs'
|
|
pkgname="mergerfs"
|
|
version=2.20.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
makedepends="fuse-devel attr-devel"
|
|
hostmakedepends="pkg-config"
|
|
short_desc="FUSE union filesystem"
|
|
maintainer="xinterer <xinterer@users.noreply.github.com>"
|
|
license="ISC"
|
|
homepage="https://github.com/trapexit/mergerfs"
|
|
distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=240c3dbbeb8b40494db9c345afe3410a6e4450ca4048c7d8f8c65eb333761b2a
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) # Does not have pandoc
|
|
;;
|
|
*) hostmakedepends+=" pandoc"
|
|
;;
|
|
esac
|
|
|
|
pre_build() {
|
|
sed -i 's|^CFLAGS[[:blank:]]*=|override CFLAGS +=|g' Makefile
|
|
sed -i 's|^LDFLAGS[[:blank:]]*=|override LDFLAGS +=|g' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|