2020-03-19 17:03:38 +01:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
2020-07-24 06:16:34 +02:00
|
|
|
inherit eutils xdg cmake
|
2020-03-19 17:03:38 +01:00
|
|
|
|
|
|
|
DESCRIPTION="A graphical grub2 settings manager"
|
|
|
|
HOMEPAGE="https://launchpad.net/grub-customizer"
|
|
|
|
|
|
|
|
if [[ "${PV}" == *9999* ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://git.launchpad.net/${PN}"
|
|
|
|
else
|
|
|
|
PB="$(ver_cut 1-2)"
|
|
|
|
SRC_URI="https://launchpad.net/${PN}/${PB}/${PV}/+download/${PN}_${PV}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
dev-cpp/gtkmm:3.0
|
|
|
|
x11-themes/hicolor-icon-theme
|
|
|
|
sys-boot/grub:2
|
|
|
|
app-arch/libarchive
|
|
|
|
"
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
|
|
|
"
|
|
|
|
|
|
|
|
pkg_postinst() {
|
2020-07-24 06:16:34 +02:00
|
|
|
xdg_desktop_database_update
|
|
|
|
xdg_icon_cache_update
|
2020-03-19 17:03:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
2020-07-24 06:16:34 +02:00
|
|
|
xdg_desktop_database_update
|
|
|
|
xdg_icon_cache_update
|
2020-03-19 17:03:38 +01:00
|
|
|
}
|