Diff xssstate-1.1 with a xssstate-1.1-r1

/usr/portage/x11-misc/xssstate/xssstate-1.1-r1.ebuild 2023-10-09 14:52:35.960368513 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
......
24 24

  
25 25
PATCHES=(
26 26
	"${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
27
	"${FILESDIR}"/${PN}-1.1-libdir.patch #732450
27 28
)
28 29

  
29
src_prepare() {
30
	default
31

  
32
	tc-export CC
30
src_compile() {
31
	emake CC="$(tc-getCC)" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
33 32
}
34 33

  
35 34
src_install() {
36
	emake DESTDIR="${D}" PREFIX='/usr' install
35
	emake install \
36
		DESTDIR="${D}" \
37
		PREFIX="${EPREFIX}"/usr \
38
		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
39

  
37 40
	dodoc README xsidle.sh
38 41
	doman ${PN}.1
39 42
}
Thank you!