From b2a8443ad70811672a83311db1a72bb99abbebfb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Nov 2016 21:10:16 +0000 Subject: port redcore-skel to EAPI 6 --- app-misc/redcore-skel/redcore-skel-1.0-r1.ebuild | 49 ++++++++++++++++++++++++ app-misc/redcore-skel/redcore-skel-1.0.ebuild | 49 ------------------------ 2 files changed, 49 insertions(+), 49 deletions(-) create mode 100644 app-misc/redcore-skel/redcore-skel-1.0-r1.ebuild delete mode 100644 app-misc/redcore-skel/redcore-skel-1.0.ebuild diff --git a/app-misc/redcore-skel/redcore-skel-1.0-r1.ebuild b/app-misc/redcore-skel/redcore-skel-1.0-r1.ebuild new file mode 100644 index 00000000..47a32596 --- /dev/null +++ b/app-misc/redcore-skel/redcore-skel-1.0-r1.ebuild @@ -0,0 +1,49 @@ +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=6 +EGIT_REPO_URI="https://gitlab.com/redcore/redcore-skel.git" + +inherit eutils git-r3 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.0.ebuild b/app-misc/redcore-skel/redcore-skel-1.0.ebuild deleted file mode 100644 index 4dfe434e..00000000 --- a/app-misc/redcore-skel/redcore-skel-1.0.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