You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/x11-misc/glipper/glipper-2.3-r1.ebuild

54 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/glipper-2.3.ebuild,v 1.1 2012/03/21 10:52:36 ssuominen Exp $
EAPI=4
PYTHON_DEPEND="2:2.7"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils gnome2-utils
DESCRIPTION="A PyGTK+ based advanced clipboard manager"
HOMEPAGE="http://launchpad.net/glipper"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-libs/keybinder[python]
>=dev-libs/libappindicator-0.4:0
dev-python/gconf-python
dev-python/pycrypto
dev-python/pygtk:2
dev-python/python-prctl
dev-python/pyxdg"
DEPEND="${RDEPEND}
dev-python/python-distutils-extra"
src_install() {
distutils_src_install
dodir /etc
mv -vf "${ED}"/usr/share/gconf "${ED}"/etc
}
pkg_preinst() {
gnome2_gconf_savelist
gnome2_icon_savelist
}
pkg_postinst() {
distutils_pkg_postinst
gnome2_gconf_install
gnome2_icon_cache_update
}
pkg_postrm() {
distutils_pkg_postrm
gnome2_icon_cache_update
}