diff options
Diffstat (limited to 'app-eselect/eselect-wine/eselect-wine-1.1.ebuild')
-rw-r--r-- | app-eselect/eselect-wine/eselect-wine-1.1.ebuild | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/app-eselect/eselect-wine/eselect-wine-1.1.ebuild b/app-eselect/eselect-wine/eselect-wine-1.1.ebuild deleted file mode 100644 index 3116c1b5..00000000 --- a/app-eselect/eselect-wine/eselect-wine-1.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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" - -S=${WORKDIR} - -src_install() { - keepdir /etc/eselect/wine - - insinto /usr/share/eselect/modules - newins "${DISTDIR}"/wine.eselect-${PV} wine.eselect -} - -pkg_postinst() { - # <eselect-wine-v0.3_rc7 installed symlinks with leading double-slashes. - # In /usr/include this breaks gcc build. - # http://bugs.gentoo.org/434180 - if [[ $(readlink "${EROOT%/}"/usr/include/wine) == //* ]]; then - ewarn "Leading double slash in ${EPREFIX%/}/usr/include/wine symlink detected." - ewarn "Re-setting wine symlinks..." - eselect wine update --if-unset - fi -} - -pkg_prerm() { - # Avoid conflicts with wine[-multislot] installed later - if [[ -z ${REPLACED_BY_VERSION} ]]; then - elog "${PN} is being uninstalled, removing symlinks" - eselect wine unset --all || die - else - einfo "${PN} is being updated/reinstalled, not modifying symlinks" - fi -} |