mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 13:51:00 +02:00
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 withae660fbbd8net-wireless/fern-wifi-cracker Symlink was added in 2019 withda69abbc3e
36 lines
831 B
Bash
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"
|
|
}
|