commit: 34b0c0c80cf579f67b59f9e3dee836f6d6e8279e Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Sat Nov 23 17:34:41 2024 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sat Nov 23 17:55:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34b0c0c8
app-misc/mc: fix pkgcheck warnings Reorder the variables to fix some warnings. I will not drop this version yet, keep it around for bug #941194. Bug: https://bugs.gentoo.org/941194 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> app-misc/mc/mc-4.8.30-r2.ebuild | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/app-misc/mc/mc-4.8.30-r2.ebuild b/app-misc/mc/mc-4.8.30-r2.ebuild index aebf71e0e108..c2cfc874cdb0 100644 --- a/app-misc/mc/mc-4.8.30-r2.ebuild +++ b/app-misc/mc/mc-4.8.30-r2.ebuild @@ -6,17 +6,18 @@ EAPI=8 inherit autotools flag-o-matic MY_P="${P/_/-}" -SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" -KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" - DESCRIPTION="GNU Midnight Commander is a text based file manager" HOMEPAGE="https://midnight-commander.org" +SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-3" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" IUSE="+edit gpm nls sftp +slang spell test unicode X" REQUIRED_USE="spell? ( edit )" +RESTRICT="!test? ( test )" DEPEND=" >=dev-libs/glib-2.30.0:2 @@ -34,8 +35,12 @@ DEPEND=" x11-libs/libSM ) " -RDEPEND="${DEPEND} - spell? ( app-dicts/aspell-en )" + +RDEPEND=" + ${DEPEND} + spell? ( app-dicts/aspell-en ) +" + BDEPEND=" app-arch/xz-utils virtual/pkgconfig @@ -43,10 +48,6 @@ BDEPEND=" test? ( dev-libs/check ) " -RESTRICT="!test? ( test )" - -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}"/${PN}-4.8.26-ncurses-mouse.patch "${FILESDIR}"/${PN}-4.8.29-gentoo-tools.patch @@ -103,6 +104,7 @@ src_test() { # information. CK_FORK=no emake check VERBOSE=1 } + src_install() { emake DESTDIR="${D}" install dodoc AUTHORS NEWS README
