From: Michał Górny Date: Sun, 10 Nov 2019 11:30:01 +0000 (+0100) Subject: dev-dotnet/monocalendar: Bump to EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=17f9a49e397ca809776a75639628574704189bbf;p=gentoo.git dev-dotnet/monocalendar: Bump to EAPI 7 Closes: https://bugs.gentoo.org/697366 Signed-off-by: Michał Górny --- diff --git a/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild b/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild index a14d50d57957..4837debd2b9f 100644 --- a/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild +++ b/dev-dotnet/monocalendar/monocalendar-0.7.2.ebuild @@ -1,17 +1,16 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit mono eutils multilib - -S="${WORKDIR}/MonoCalendar" +inherit eutils mono DESCRIPTION="iCal clone for .NET" HOMEPAGE="http://www.monocalendar.com/" SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz" +S="${WORKDIR}/MonoCalendar" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 x86" IUSE="" @@ -20,17 +19,13 @@ DEPEND=">=dev-lang/mono-1.2.1" RDEPEND="${DEPEND}" src_compile() { - cd "${S}"/bin/Release/ - - emake || die "emake failed" + emake -C bin/Release } src_install() { - dodir /usr/$(get_libdir)/${PN} - insinto /usr/$(get_libdir)/${PN} - - doins bin/Release/*dll - doins bin/Release/*.exe + exeinto /usr/$(get_libdir)/${PN} + doexe bin/Release/*dll + doexe bin/Release/*.exe make_wrapper monocalendar "mono /usr/$(get_libdir)/${PN}/MonoCalendar.exe" }