Diff scdoc-1.11.1 with a scdoc-9999

/usr/portage/app-text/scdoc/scdoc-9999.ebuild 2021-03-17 07:39:00.000000000 +0300
13 13
	inherit git-r3
14 14
else
15 15
	SRC_URI="https://git.sr.ht/~sircmpwn/scdoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
16
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
16
	KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
17 17
fi
18 18

  
19 19
LICENSE="MIT"
......
35 35
			CFLAGS="${BUILD_CFLAGS} -DVERSION='\"${PV}\"'" LDFLAGS="${BUILD_LDFLAGS}"
36 36
		mv scdoc hostscdoc || die 'Failed to rename host scdoc'
37 37
	fi
38
	emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}"
38
	emake LDFLAGS="${LDFLAGS}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}"
39 39
}
40 40

  
41 41
src_install() {
42 42
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" \
43
	PCDIR="${ED}/usr/$(get_libdir)/pkgconfig" install
43
	PCDIR="${EPREFIX}/usr/$(get_libdir)/pkgconfig" install
44 44
}
Thank you!