# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 DESCRIPTION="Manage active wine version" HOMEPAGE="http://bitbucket.org/NP-Hardass/eselect-wine" SRC_URI="http://bitbucket.org/NP-Hardass/${PN}/raw/v${PV}/wine.eselect -> wine.eselect-${PV}" LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" IUSE="" RDEPEND="app-admin/eselect dev-util/desktop-file-utils !!app-emulation/wine:0" S=${WORKDIR} src_install() { keepdir /etc/eselect/wine insinto /usr/share/eselect/modules newins "${DISTDIR}"/wine.eselect-${PV} wine.eselect } pkg_postinst() { #