summaryrefslogtreecommitdiff
path: root/app-misc/kogaion-live/kogaion-live-3-r4.ebuild
blob: 8ff0f3e2c00f9d155a8fb9db5f092c460f73bd13 (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

EAPI=5

EGIT_BRANCH="master"
EGIT_REPO_URI="https://gitlab.com/kogaion/kogaion-live.git"

inherit eutils systemd git-2

DESCRIPTION="Kogaion live scripts"
HOMEPAGE="http://www.rogentos.ro"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_install() {
	emake DESTDIR="${D}" SYSTEMD_UNITDIR="$(systemd_get_unitdir)" \
		install || die
}

pkg_postrm() {
	for service in "kogaionlive.service" ; do
		find "${ROOT}etc/systemd/system" -name "$service" -delete
	done
}