summaryrefslogtreecommitdiff
path: root/eclass/systemd-unit.eclass
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-10-08 20:11:08 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-10-08 20:11:08 +0100
commit7f2f4600b12f2cab95e2fed77d6cf5967283f5fc (patch)
tree6a8e95f368fc7381491cd692c03b52cc160c56bc /eclass/systemd-unit.eclass
parentsquid service bump (diff)
downloadportage-7f2f4600b12f2cab95e2fed77d6cf5967283f5fc.tar.bz2
portage-7f2f4600b12f2cab95e2fed77d6cf5967283f5fc.tar.xz
portage-7f2f4600b12f2cab95e2fed77d6cf5967283f5fc.zip
Fixup system units
version number in sources, eapi version
Diffstat (limited to 'eclass/systemd-unit.eclass')
-rw-r--r--eclass/systemd-unit.eclass6
1 files changed, 3 insertions, 3 deletions
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/-/.}}
}