media-sound/nuclear-bin: update EAPI 7 -> 8

Signed-off-by: Leonardo Hernández Hernández <leohdz172@outlook.com>
This commit is contained in:
Leonardo Hernández Hernández
2022-04-14 22:19:19 -05:00
parent 9b8a3fce6a
commit cc07a8eabf

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit desktop xdg
@@ -42,14 +42,10 @@ DEPEND="
QA_PREBUILT="/opt/nuclear-bin/*"
src_prepare(){
default
}
src_install(){
insinto /opt/"${PN}"
doins -r "${S}"/*
dosym ../../opt/"${PN}"/nuclear "${EPREFIX}"/usr/bin/nuclear
dosym -r /opt/"${PN}"/nuclear "${EPREFIX}"/usr/bin/nuclear
fperms +x /opt/"${PN}"/nuclear
fperms +x /opt/"${PN}"/chrome-sandbox
fperms +x /opt/"${PN}"/resources/bin/fpcalc
@@ -68,8 +64,3 @@ src_install(){
mv nuclear-icon.svg nuclear.svg || die
doicon nuclear.svg
}
pkg_postinst(){
xdg_desktop_database_update
xdg_icon_cache_update
}