greetd: fix manpage generation on cross
This commit is contained in:
parent
4f4f7e7c67
commit
8f59ff1820
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue