From 55294fed7e9b00d5050536e58f85fedab639bac6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Mar 2017 13:31:49 +0000 Subject: 1703 --- app-misc/redcore-live/redcore-live-1703.ebuild | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 app-misc/redcore-live/redcore-live-1703.ebuild (limited to 'app-misc/redcore-live/redcore-live-1703.ebuild') diff --git a/app-misc/redcore-live/redcore-live-1703.ebuild b/app-misc/redcore-live/redcore-live-1703.ebuild new file mode 100644 index 00000000..a86f2eb6 --- /dev/null +++ b/app-misc/redcore-live/redcore-live-1703.ebuild @@ -0,0 +1,30 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="master" +EGIT_REPO_URI="https://gitlab.com/redcore/redcore-live.git" + +inherit eutils systemd git-r3 + +DESCRIPTION="Redcore Linux live scripts" +HOMEPAGE="http://redcorelinux.org" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_install() { + emake DESTDIR="${D}" SYSTEMD_UNITDIR="$(systemd_get_systemunitdir)" \ + install || die +} + +pkg_postrm() { + for service in "redcorelive.service" ; do + find "${ROOT}etc/systemd/system" -name "$service" -delete + done +} -- cgit v1.2.3