summaryrefslogtreecommitdiff
path: root/app-misc/redcore-live/redcore-live-1704.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-04-01 06:07:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-04-01 06:07:18 +0100
commit1bed479f750d1f1e0deacfcd6a3c9c254d098ce4 (patch)
tree135e56d838297caa20c18ec4faf57b31197593c9 /app-misc/redcore-live/redcore-live-1704.ebuild
parent3290bd9e780abb1f3795ec6a2bee005f55fca427 (diff)
prepare redcore-live for 1704 Epsilon Eridani
Diffstat (limited to 'app-misc/redcore-live/redcore-live-1704.ebuild')
-rw-r--r--app-misc/redcore-live/redcore-live-1704.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-misc/redcore-live/redcore-live-1704.ebuild b/app-misc/redcore-live/redcore-live-1704.ebuild
new file mode 100644
index 00000000..a86f2eb6
--- /dev/null
+++ b/app-misc/redcore-live/redcore-live-1704.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
+}