app-eselect/eselect-audicle: Fix typo (#491382 by knasan)
authorPacho Ramos <pacho@gentoo.org>
Mon, 2 Apr 2018 09:08:14 +0000 (11:08 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 2 Apr 2018 09:13:42 +0000 (11:13 +0200)
Package-Manager: Portage-2.3.27, Repoman-2.3.9

app-eselect/eselect-audicle/eselect-audicle-1.0.1-r1.ebuild [moved from app-eselect/eselect-audicle/eselect-audicle-1.0.1.ebuild with 50% similarity]

similarity index 50%
rename from app-eselect/eselect-audicle/eselect-audicle-1.0.1.ebuild
rename to app-eselect/eselect-audicle/eselect-audicle-1.0.1-r1.ebuild
index 9f8f705bb09d57f369df10d9ec2242d8734e2793..2e286d365ddf3d5fee37f66ee561198e67addcf6 100644 (file)
@@ -1,9 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 DESCRIPTION="Manages the /usr/bin/audicle symlink"
 HOMEPAGE="https://www.gentoo.org/"
-SRC_URI="mirror://gentoo/audicle.eselect-${PVR}.bz2"
+SRC_URI="mirror://gentoo/audicle.eselect-${PV}.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -12,7 +14,14 @@ IUSE=""
 
 RDEPEND=">=app-admin/eselect-1.2.3"
 
+S="${WORKDIR}"
+
+src_prepare() {
+       default
+       sed -i -e 's/highlight_maker/highlight_marker/' "${WORKDIR}/audicle.eselect-${PV}" || die
+}
+
 src_install() {
        insinto /usr/share/eselect/modules
-       newins "${WORKDIR}/audicle.eselect-${PVR}" audicle.eselect || die
+       newins "${WORKDIR}/audicle.eselect-${PV}" audicle.eselect
 }