media-video/tivodecode: Bump to EAPI 7
authorMichał Górny <mgorny@gentoo.org>
Sat, 9 Nov 2019 19:28:26 +0000 (20:28 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 9 Nov 2019 19:33:52 +0000 (20:33 +0100)
Bug: https://bugs.gentoo.org/697264
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-video/tivodecode/tivodecode-0.2_pre4.ebuild

index cac9e1264c46c7afce69351ac2c67a718a3d3652..511c7c80d240da77166abb3f36e4e31b891cea68 100644 (file)
@@ -1,26 +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
-
-inherit eutils versionator
-
-MY_PV="$(delete_version_separator '_')"
+EAPI=7
 
+MY_P=${P/_/}
 DESCRIPTION="TiVo File Decoder"
 HOMEPAGE="http://tivodecode.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
-LICENSE="BSD"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
 
+LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
 
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-       dodoc README ChangeLog
-}
+S="${WORKDIR}/${MY_P}"