l_readme.md 803 B

Patch

Got libre.patch from here. Then converted it from git diff to plain diff, otherwise xbps complains. We would remove plugins/clirarplugin which is already there, but if we don't remove autotests/plugins/clirarplugin/ it complains. For that we'll remove it from autotests/plugins/CMakeLists.txt with the diff.

Also:

echo '-Np1' > libre.patch.args

Template

We need to delete clirarplugin because it's nonfree. So added this to template:

pre_configure() {
	# Commands below are taken and modified from "prepare" function of:
	# https://git.parabola.nu/abslibre.git/tree/libre/ark/PKGBUILD
	rm -rv plugins/clirarplugin
	rm -rv autotests/plugins/clirarplugin
}

Template diff

See l_template.diff