summaryrefslogtreecommitdiff
path: root/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild')
-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
}