From 17f9a49e397ca809776a75639628574704189bbf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 10 Nov 2019 12:30:01 +0100 Subject: [PATCH] dev-dotnet/monocalendar: Bump to EAPI 7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/697366 Signed-off-by: Michał Górny --- .../monocalendar/monocalendar-0.7.2.ebuild | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) 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" } -- 2.26.2