void-packages/srcpkgs/mergerfs/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

24 lines
640 B
Bash

# Template file for 'mergerfs'
pkgname=mergerfs
version=2.32.4
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=8857d2058c38251bff539c77b6c90472ab139bda96265ce09485c3689d11a4ac
patch_args=-Np0
pre_build() {
# we build from source, spoof release tarball
vsed -i "s|^VERSION=.*|VERSION=$pkgver|" tools/update-version
}
post_install() {
vlicense LICENSE
}