From 966a69b67e4f54666aefd3f0416ecf2c29f2bf22 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 7 Nov 2016 12:58:21 +0000 Subject: bump skel --- app-misc/redcore-live/redcore-live-1.0.ebuild | 30 +++++++++++++ app-misc/redcore-live/redcore-live-1.ebuild | 30 ------------- .../redcore-skel/files/3.0/img/redcore-weblink.png | Bin 3334 -> 3411 bytes app-misc/redcore-skel/redcore-skel-1.0.ebuild | 49 +++++++++++++++++++++ app-misc/redcore-skel/redcore-skel-1.ebuild | 49 --------------------- 5 files changed, 79 insertions(+), 79 deletions(-) create mode 100644 app-misc/redcore-live/redcore-live-1.0.ebuild delete mode 100644 app-misc/redcore-live/redcore-live-1.ebuild create mode 100644 app-misc/redcore-skel/redcore-skel-1.0.ebuild delete mode 100644 app-misc/redcore-skel/redcore-skel-1.ebuild diff --git a/app-misc/redcore-live/redcore-live-1.0.ebuild b/app-misc/redcore-live/redcore-live-1.0.ebuild new file mode 100644 index 00000000..93690cdd --- /dev/null +++ b/app-misc/redcore-live/redcore-live-1.0.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 +} diff --git a/app-misc/redcore-live/redcore-live-1.ebuild b/app-misc/redcore-live/redcore-live-1.ebuild deleted file mode 100644 index 93690cdd..00000000 --- a/app-misc/redcore-live/redcore-live-1.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 -} diff --git a/app-misc/redcore-skel/files/3.0/img/redcore-weblink.png b/app-misc/redcore-skel/files/3.0/img/redcore-weblink.png index ed9747f0..036dbd91 100644 Binary files a/app-misc/redcore-skel/files/3.0/img/redcore-weblink.png and b/app-misc/redcore-skel/files/3.0/img/redcore-weblink.png differ diff --git a/app-misc/redcore-skel/redcore-skel-1.0.ebuild b/app-misc/redcore-skel/redcore-skel-1.0.ebuild new file mode 100644 index 00000000..4dfe434e --- /dev/null +++ b/app-misc/redcore-skel/redcore-skel-1.0.ebuild @@ -0,0 +1,49 @@ +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +EGIT_REPO_URI="https://gitlab.com/redcore/redcore-skel.git" + +inherit eutils git-2 fdo-mime + +DESCRIPTION="Redcore Linux skel tree" +HOMEPAGE="http://redcorelinux.org" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +DEPEND="" +RDEPEND=" + x11-themes/redcore-theme + x11-themes/numix-icon-theme + x11-themes/numix-icon-theme-circle + x11-themes/redcore-artwork-community + x11-themes/redcore-artwork-core" + +src_install () { + dodir /etc/xdg/menus + cp "${S}"/* "${D}"/etc/ -Ra + chown root:root "${D}"/etc/skel -R + + dodir /usr/share/desktop-directories + cp "${FILESDIR}"/3.0/xdg/*.directory "${D}"/usr/share/desktop-directories/ + dodir /usr/share/redcore + cp -a "${FILESDIR}"/3.0/* "${D}"/usr/share/redcore/ + doicon "${FILESDIR}"/3.0/img/redcore-weblink.png +} + +pkg_postinst() { + if [ -x "/usr/bin/xdg-desktop-menu" ]; then + xdg-desktop-menu install \ + /usr/share/redcore/xdg/redcore-redcore.directory \ + /usr/share/redcore/xdg/*.desktop + fi + + fdo-mime_desktop_database_update +} + +pkg_prerm() { + if [ -x "/usr/bin/xdg-desktop-menu" ]; then + xdg-desktop-menu uninstall /usr/share/redcore/xdg/redcore-redcore.directory /usr/share/redcore/xdg/*.desktop + fi +} diff --git a/app-misc/redcore-skel/redcore-skel-1.ebuild b/app-misc/redcore-skel/redcore-skel-1.ebuild deleted file mode 100644 index 4dfe434e..00000000 --- a/app-misc/redcore-skel/redcore-skel-1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -EGIT_REPO_URI="https://gitlab.com/redcore/redcore-skel.git" - -inherit eutils git-2 fdo-mime - -DESCRIPTION="Redcore Linux skel tree" -HOMEPAGE="http://redcorelinux.org" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" -DEPEND="" -RDEPEND=" - x11-themes/redcore-theme - x11-themes/numix-icon-theme - x11-themes/numix-icon-theme-circle - x11-themes/redcore-artwork-community - x11-themes/redcore-artwork-core" - -src_install () { - dodir /etc/xdg/menus - cp "${S}"/* "${D}"/etc/ -Ra - chown root:root "${D}"/etc/skel -R - - dodir /usr/share/desktop-directories - cp "${FILESDIR}"/3.0/xdg/*.directory "${D}"/usr/share/desktop-directories/ - dodir /usr/share/redcore - cp -a "${FILESDIR}"/3.0/* "${D}"/usr/share/redcore/ - doicon "${FILESDIR}"/3.0/img/redcore-weblink.png -} - -pkg_postinst() { - if [ -x "/usr/bin/xdg-desktop-menu" ]; then - xdg-desktop-menu install \ - /usr/share/redcore/xdg/redcore-redcore.directory \ - /usr/share/redcore/xdg/*.desktop - fi - - fdo-mime_desktop_database_update -} - -pkg_prerm() { - if [ -x "/usr/bin/xdg-desktop-menu" ]; then - xdg-desktop-menu uninstall /usr/share/redcore/xdg/redcore-redcore.directory /usr/share/redcore/xdg/*.desktop - fi -} -- cgit v1.2.3