diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-21 23:15:32 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-21 23:15:32 +0100 |
commit | dcd08467271c676e143c6c967faf8580fae7ca77 (patch) | |
tree | 86ebe68ab58590f06f3ce077bd7b8085498b1edf /media-gfx/mcomix/mcomix-9999.ebuild | |
parent | d7c0aa05b3a48c9b2bad24e3d805820f861165c6 (diff) |
gentoo auto-resync : 21:09:2023 - 23:15:31
Diffstat (limited to 'media-gfx/mcomix/mcomix-9999.ebuild')
-rw-r--r-- | media-gfx/mcomix/mcomix-9999.ebuild | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/media-gfx/mcomix/mcomix-9999.ebuild b/media-gfx/mcomix/mcomix-9999.ebuild index 70caed9ab1ae..60b81574d92d 100644 --- a/media-gfx/mcomix/mcomix-9999.ebuild +++ b/media-gfx/mcomix/mcomix-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..12} ) -inherit distutils-r1 git-r3 optfeature xdg +inherit desktop distutils-r1 git-r3 optfeature xdg DESCRIPTION="GTK image viewer for comic book archives" HOMEPAGE="https://mcomix.sourceforge.net" @@ -31,8 +31,23 @@ src_prepare() { default # Uncompress man page - gunzip mcomix.1.gz || die - sed -e "s/mcomix.1.gz/mcomix.1/" -i setup.py || die + gunzip share/man/man1/mcomix.1.gz || die +} + +src_install() { + default + + # Application meta files are not installed automatically anymore + domenu share/applications/*.desktop + local x + for x in 16 22 24 32 48 256 scalable; do + doicon -s ${x} share/icons/hicolor/${x}*/* + done + doman share/man/man1/mcomix.1 + insinto /usr/share/metainfo + doins share/metainfo/*.xml + insinto /usr/share/mime/packages + doins share/mime/packages/*.xml } pkg_postinst() { |