summaryrefslogtreecommitdiff
path: root/eclass/systemd-unit.eclass
blob: d3e1e60e1762cf7b4d5620456423e34ece57300b (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
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}
}