updated ebuild
This commit is contained in:
parent
0cd39f1560
commit
f013c19965
1 changed files with 3 additions and 5 deletions
|
@ -35,8 +35,7 @@ src_unpack() {
|
||||||
src_install() {
|
src_install() {
|
||||||
local inspath
|
local inspath
|
||||||
|
|
||||||
python_version
|
inspath=$(python_get_sitedir)/${PN}
|
||||||
inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
|
|
||||||
insinto ${inspath}
|
insinto ${inspath}
|
||||||
doins -r data src
|
doins -r data src
|
||||||
newins PyMSNt.py ${PN}.py
|
newins PyMSNt.py ${PN}.py
|
||||||
|
@ -63,13 +62,12 @@ src_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
python_version
|
python_mod_optimize ${PN}
|
||||||
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
|
|
||||||
|
|
||||||
elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
|
elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
|
||||||
elog "Please edit it and the configuration of your Jabber server to match."
|
elog "Please edit it and the configuration of your Jabber server to match."
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN}
|
python_mod_cleanup ${PN}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue