From 7ba9b0130f1878ab90315b18e2dedecd9ea6a800 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Nov 2016 21:14:12 +0000 Subject: port to EAPI 6 : redcore-live, epkg --- app-misc/redcore-live/redcore-live-1.0-r1.ebuild | 30 ++++++++++++++++++++++++ app-misc/redcore-live/redcore-live-1.0.ebuild | 30 ------------------------ 2 files changed, 30 insertions(+), 30 deletions(-) create mode 100644 app-misc/redcore-live/redcore-live-1.0-r1.ebuild delete mode 100644 app-misc/redcore-live/redcore-live-1.0.ebuild (limited to 'app-misc/redcore-live') diff --git a/app-misc/redcore-live/redcore-live-1.0-r1.ebuild b/app-misc/redcore-live/redcore-live-1.0-r1.ebuild new file mode 100644 index 00000000..202bfb98 --- /dev/null +++ b/app-misc/redcore-live/redcore-live-1.0-r1.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_unitdir)" \ + install || die +} + +pkg_postrm() { + for service in "redcorelive.service" ; do + find "${ROOT}etc/systemd/system" -name "$service" -delete + done +} diff --git a/app-misc/redcore-live/redcore-live-1.0.ebuild b/app-misc/redcore-live/redcore-live-1.0.ebuild deleted file mode 100644 index 93690cdd..00000000 --- a/app-misc/redcore-live/redcore-live-1.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# 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 -} -- cgit v1.2.3