commit: 215f621f4ab14f99625ea0c8d62f4bef724b2ab8 Author: Victor Skovorodnikov <victor3.14 <AT> yandex <DOT> com> AuthorDate: Thu Jul 13 01:34:48 2023 +0000 Commit: Victor Skovorodnikov <victor3.14 <AT> yandex <DOT> com> CommitDate: Thu Jul 13 01:36:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=215f621f
net-p2p/dogecoin-qt: unkeyword 1.14.6 for ~x86 Signed-off-by: Victor Skovorodnikov <victor3.14 <AT> yandex.com> net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild index d9c9c4623..f40ab04a1 100644 --- a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild +++ b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit desktop +inherit desktop xdg-utils DESCRIPTION="Dogecoin Core Qt 1.14.6 (with Graphical User Interface) with ultra-low transaction fees. Fast and lightweight; the default installation for desktop keeps downloaded blockchain size below 2.2GB, making it ideal for daily transactions, even on systems where disk space could be limited." HOMEPAGE="https://github.com/dogecoin" SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/tags/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" @@ -76,19 +76,29 @@ src_install() { insinto "${DOGEDIR}/bin" insinto /usr/share/pixmaps doins src/qt/res/icons/dogecoin.png - dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" - + dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" + if use prune ; then domenu "${FILESDIR}"/"${PN}-prune.desktop" fi - + if ! use prune ; then domenu "${FILESDIR}"/"${PN}.desktop" - fi + fi + + find "${ED}" -type f -name '*.la' -delete || die } pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update elog "Dogecoin Core Qt ${PV} has been installed." elog "Dogecoin Core Qt binaries have been placed in ${DOGEDIR}/bin." elog "${PN} has been symlinked with /usr/bin/${PN}." } + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} +