diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-11-06 11:23:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-11-06 11:23:02 +0000 |
commit | bee71a2da14e3761c4df67123f38e9a619fac0b1 (patch) | |
tree | 0fa5674e649d648670b5d7a7925db9b43d9c794f /app-misc/redcore-live | |
parent | e3cad94cdcc98c4cd596b8b3aef82b18f3450bee (diff) |
live scripts done
Diffstat (limited to 'app-misc/redcore-live')
-rw-r--r-- | app-misc/redcore-live/redcore-live-1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-misc/redcore-live/redcore-live-1.ebuild b/app-misc/redcore-live/redcore-live-1.ebuild new file mode 100644 index 00000000..93690cdd --- /dev/null +++ b/app-misc/redcore-live/redcore-live-1.ebuild @@ -0,0 +1,30 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGIT_BRANCH="master" +EGIT_REPO_URI="https://gitlab.com/redcore/redcore-live.git" + +inherit eutils systemd git-2 + +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_unitdir)" \ + install || die +} + +pkg_postrm() { + for service in "redcorelive.service" ; do + find "${ROOT}etc/systemd/system" -name "$service" -delete + done +} |