Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 170417 | Differences between
and this patch

Collapse All | Expand All

(-)g15daemon-1.2.6a-r1.ebuild (-5 / +6 lines)
Lines 66-76 Link Here
66
}
66
}
67
67
68
src_install() {
68
src_install() {
69
	emake DESTDIR="${D}" install || die "make install failed"
69
	emake DESTDIR="${D}" \
70
		docdir=/usr/share/doc/${PF} install || die "make install failed"
70
71
71
	# remove odd docs installed my make
72
	# remove odd docs installed my make
72
	rm "${D}/usr/share/doc/${P}/"{LICENSE,README.usage}
73
	rm "${D}/usr/share/doc/${PF}/"{LICENSE,README.usage}
73
	gzip "${D}/usr/share/doc/${P}/"*
74
	prepalldocs
74
75
75
	insinto /usr/share/g15daemon/contrib
76
	insinto /usr/share/g15daemon/contrib
76
	doins contrib/xmodmaprc
77
	doins contrib/xmodmaprc
Lines 101-107 Link Here
101
102
102
pkg_postinst() {
103
pkg_postinst() {
103
	if use python; then
104
	if use python; then
104
		python_mod_optimize "/usr/lib/python*/site-packages/g15daemon"
105
		python_mod_optimize "${ROOT}/usr/$(get_libdir)/python*/site-packages/g15daemon"
105
		echo ""
106
		echo ""
106
	fi
107
	fi
107
108
Lines 124-129 Link Here
124
125
125
pkg_postrm() {
126
pkg_postrm() {
126
	if use python; then
127
	if use python; then
127
		python_mod_cleanup "/usr/lib/python*/site-packages/g15daemon"
128
		python_mod_cleanup "/usr/$(get_libdir)/python*/site-packages/g15daemon"
128
	fi
129
	fi
129
}
130
}

Return to bug 170417