-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
MY_P="${P}-src"
-DESCRIPTION="imgv is a unique and feature rich image viewer using Python"
+DESCRIPTION="A unique and feature rich image viewer using Python"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
HOMEPAGE="http://imgv.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/pygtk
python_version
INST_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}"
- insinto ${INST_DIR}
+ insinto "${INST_DIR}"
cd "${S}"
doins -r *.py
- insinto ${INST_DIR}/data
+ insinto "${INST_DIR}/data"
cd "${S}/data"
doins -r *
cd "${S}"
echo "IMGV_HOME=${INST_DIR}" >> 90imgv
- insinto /etc/env.d
- doins 90imgv
+ doenvd 90imgv
make_wrapper imgv "/usr/bin/python ${INST_DIR}/imgv.py"
}