diff --git a/srcpkgs/greetd/template b/srcpkgs/greetd/template index 4a264ff7fd8..ebfda8ac500 100644 --- a/srcpkgs/greetd/template +++ b/srcpkgs/greetd/template @@ -1,7 +1,7 @@ # Template file for 'greetd' pkgname=greetd version=0.10.3 -revision=1 +revision=2 build_style=cargo conf_files="/etc/greetd/config.toml" hostmakedepends="pkg-config scdoc" @@ -19,6 +19,11 @@ _greeter_groups="video" _greeter_homedir="/var/lib/_greeter" make_dirs="/var/lib/_greeter 0755 _greeter _greeter" +post_patch() { + # on cross, tries to find scdoc for the target and fails + vsed -i -e 's,pkg-config,/usr/bin/&,' man/Makefile +} + pre_build() { make -C man }