pentoo-overlay/app-admin/genmenu/genmenu-9999.ebuild
Wuodan 96ad32ca55
genmenu: Remove symlink for fern-wifi-cracker
Both app-admin/genmenu and net-wireless/fern-wifi-cracker create the
same symlink.

If genmenu is installed without fern-wifi-cracker present,
then there is a QA Notice symlink target does not exist.
Installing fern-wifi-cracker after genmenu fails due to file collision.

app-admin/genmenu:
Symlink was added in 2015 with ae660fbbd8

net-wireless/fern-wifi-cracker
Symlink was added in 2019 with da69abbc3e
2020-07-18 12:44:49 +02:00

36 lines
831 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
DESCRIPTION="a tool for generating freedesktop-compliant menus"
HOMEPAGE="https://github.com/pentoo/genmenu"
EGIT_REPO_URI="https://github.com/pentoo/genmenu.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
#gnome-base/gnome-menus"
DEPEND=">=dev-python/lxml-1.3.6"
RDEPEND="${DEPEND}"
src_install() {
insinto /usr/
doins -r "${S}"/src/share
chown -R root:root "${ED}"
dobin src/bin/genmenu.py src/bin/launch
}
pkg_postinst() {
einfo
einfo "The genmenu has been updated."
einfo "You should run the following command to regenerate the main Pentoo menu for a local user:"
einfo "E17: genmenu.py -e"
einfo "Xfce: genmenu.py -x"
einfo "KDE: genmenu.py -k"
einfo
einfo "See -h for more options"
}