summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-10-25 11:20:15 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-10-25 11:20:48 +0300
commit3820da2d244d6c090de6c8a5a9e9332d2a445a17 (patch)
tree566b64c43c3b7ddcf5f27965dd87a9fdf4e260c9 /app-eselect
parentdev-perl/Perl-Critic-Dynamic: Remove old (diff)
downloadgentoo-3820da2d244d6c090de6c8a5a9e9332d2a445a17.tar.gz
gentoo-3820da2d244d6c090de6c8a5a9e9332d2a445a17.tar.bz2
gentoo-3820da2d244d6c090de6c8a5a9e9332d2a445a17.zip
app-eselect/eselect-mpost: port to EAPI=7
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild b/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild
index 6d9ef0a7e944..f715cb4b8850 100644
--- a/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild
+++ b/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild
@@ -1,12 +1,10 @@
-# 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
+EAPI=7
DESCRIPTION="mpost module for eselect"
-HOMEPAGE="https://www.gentoo.org/proj/en/eselect/"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:TeX"
SRC_URI=""
LICENSE="GPL-2"
@@ -20,11 +18,12 @@ DEPEND=""
RDEPEND=">=app-admin/eselect-1.2.3
>=app-text/texlive-core-2008"
+S="${WORKDIR}"
+
src_install() {
local MODULEDIR="/usr/share/eselect/modules"
local MODULE="mpost"
dodir ${MODULEDIR}
insinto ${MODULEDIR}
- newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect \
- || die "failed to install"
+ newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect
}