updated ebuild

This commit is contained in:
Manuel Friedli 2010-08-15 19:59:03 +00:00
parent 0cd39f1560
commit f013c19965
1 changed files with 3 additions and 5 deletions

View File

@ -35,8 +35,7 @@ src_unpack() {
src_install() {
local inspath
python_version
inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
inspath=$(python_get_sitedir)/${PN}
insinto ${inspath}
doins -r data src
newins PyMSNt.py ${PN}.py
@ -63,13 +62,12 @@ src_install() {
}
pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
python_mod_optimize ${PN}
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."
}
pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN}
python_mod_cleanup ${PN}
}