summaryrefslogtreecommitdiff
path: root/eclass/systemd-unit.eclass
blob: d42858a5e62422ca9dd8cd68e18bf7063111986a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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="MIT"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""

src_unpack()
{
	mkdir ${S}
	cp ${DISTDIR}/${A} ${S}/${TARGETNAME:=${A}}
}

src_install()
{
	systemd_dounit ${S}/${TARGETNAME:=${A}}
}