diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/systemd-unit.eclass | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/eclass/systemd-unit.eclass b/eclass/systemd-unit.eclass new file mode 100644 index 0000000..d3e1e60 --- /dev/null +++ b/eclass/systemd-unit.eclass @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# Original Author: randomdan +# Purpose: systemd-unit files +# + +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/-/.}" +RESTRICT="mirror" + +LICENSE="gpl" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +src_unpack() +{ + mkdir ${S} + cp ${DISTDIR}/${A} ${S} +} + +src_install() +{ + systemd_dounit ${S}/${A} +} + |