From 7f2f4600b12f2cab95e2fed77d6cf5967283f5fc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 8 Oct 2019 20:11:08 +0100 Subject: Fixup system units version number in sources, eapi version --- eclass/systemd-unit.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/systemd-unit.eclass b/eclass/systemd-unit.eclass index d42858a..dced013 100644 --- a/eclass/systemd-unit.eclass +++ b/eclass/systemd-unit.eclass @@ -9,7 +9,7 @@ inherit "systemd" DESCRIPTION="${PN}" HOMEPAGE="http://git.randomdan.homeip.net/cgit.cgi/util/tree/systemd-units" -SRC_URI="http://git.randomdan.homeip.net/cgit.cgi/util/plain/systemd-units/${PN/-/.}?id=${P} -> ${PN/-/.}" +SRC_URI="http://git.randomdan.homeip.net/cgit.cgi/util/plain/systemd-units/${PN/-/.}?id=${P} -> ${P/-/.}" RESTRICT="mirror" LICENSE="MIT" @@ -20,11 +20,11 @@ IUSE="" src_unpack() { mkdir ${S} - cp ${DISTDIR}/${A} ${S}/${TARGETNAME:=${A}} + cp ${DISTDIR}/${A} ${S}/${TARGETNAME:=${PN/-/.}} } src_install() { - systemd_dounit ${S}/${TARGETNAME:=${A}} + systemd_dounit ${S}/${TARGETNAME:=${PN/-/.}} } -- cgit v1.2.3