commit:     17f9a49e397ca809776a75639628574704189bbf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 11:30:01 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 11:38:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f9a49e

dev-dotnet/monocalendar: Bump to EAPI 7

Closes: https://bugs.gentoo.org/697366
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-dotnet/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 a14d50d5795..4837debd2b9 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"
 }

Reply via email to