diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-11-06 11:10:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-11-06 11:10:14 +0000 |
commit | e3cad94cdcc98c4cd596b8b3aef82b18f3450bee (patch) | |
tree | a04c011ffda1c056b316a4163c690d336872f711 /app-misc/redcore-skel | |
parent | 7bbc08ceb1357041dfcfeea9e1368573069eb8ba (diff) |
skel done
Diffstat (limited to 'app-misc/redcore-skel')
9 files changed, 114 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 00000000..ed9747f0 --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/img/redcore-weblink.png diff --git a/app-misc/redcore-skel/files/3.0/xdg/redcore-gentoo.desktop b/app-misc/redcore-skel/files/3.0/xdg/redcore-gentoo.desktop new file mode 100644 index 00000000..695ab4f8 --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/xdg/redcore-gentoo.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://www.gentoo.org/doc/en/index.xml +Icon=/usr/share/pixmaps/redcore-weblink.png + +Name=Gentoo Documentation +Name[ro]=Documentație Gentoo + diff --git a/app-misc/redcore-skel/files/3.0/xdg/redcore-getlivehelp.desktop b/app-misc/redcore-skel/files/3.0/xdg/redcore-getlivehelp.desktop new file mode 100644 index 00000000..6b85239a --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/xdg/redcore-getlivehelp.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://webchat.freenode.net/?channels=redcorelinux +Icon=/usr/share/pixmaps/redcore-weblink.png + +Name=Get Live Help +Name[ro]=Cere Ajutor Online diff --git a/app-misc/redcore-skel/files/3.0/xdg/redcore-git.desktop b/app-misc/redcore-skel/files/3.0/xdg/redcore-git.desktop new file mode 100644 index 00000000..4829671d --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/xdg/redcore-git.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open https://gitlab.com/groups/redcore +Icon=/usr/share/pixmaps/redcore-weblink.png + +Name=Redcore Git Repos +Name[ro]=Depozite Redcore diff --git a/app-misc/redcore-skel/files/3.0/xdg/redcore-homepage.desktop b/app-misc/redcore-skel/files/3.0/xdg/redcore-homepage.desktop new file mode 100644 index 00000000..ccdcc872 --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/xdg/redcore-homepage.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://redcorelinux.org +Icon=/usr/share/pixmaps/redcore-weblink.png + +Name=Redcore Homepage +Name[ro]=Pagina Web Redcore + diff --git a/app-misc/redcore-skel/files/3.0/xdg/redcore-mirrors.desktop b/app-misc/redcore-skel/files/3.0/xdg/redcore-mirrors.desktop new file mode 100644 index 00000000..829f0143 --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/xdg/redcore-mirrors.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://redcorelinux.org/iso +Icon=/usr/share/pixmaps/redcore-weblink.png + +Name=Download +Name[ro]=Descarcare diff --git a/app-misc/redcore-skel/files/3.0/xdg/redcore-redcore.directory b/app-misc/redcore-skel/files/3.0/xdg/redcore-redcore.directory new file mode 100644 index 00000000..dccf81df --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/xdg/redcore-redcore.directory @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Directory + +Icon=/usr/share/pixmaps/redcore-logo.png +Name=Redcore Linux + + diff --git a/app-misc/redcore-skel/files/3.0/xdg/redcore-wiki.desktop b/app-misc/redcore-skel/files/3.0/xdg/redcore-wiki.desktop new file mode 100644 index 00000000..e69f547b --- /dev/null +++ b/app-misc/redcore-skel/files/3.0/xdg/redcore-wiki.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://wiki.redcorelinux.org +Icon=/usr/share/pixmaps/redcore-weblink.png + +Name=Redcore Documentation +Name[ro]=Documentație Redcore + diff --git a/app-misc/redcore-skel/redcore-skel-1.ebuild b/app-misc/redcore-skel/redcore-skel-1.ebuild new file mode 100644 index 00000000..4dfe434e --- /dev/null +++ b/app-misc/redcore-skel/redcore-skel-1.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 +} |