From 51ae703665a2f42df0caaea717ae04d268d5ba5d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 14 Jan 2018 02:34:06 +0000 Subject: app-misc/redcore-skel : make use of insinto && doins (gentoo way) --- .../redcore-skel/files/3.0/img/redcore-weblink.png | Bin 5713 -> 0 bytes .../files/3.0/xdg/redcore-gentoo.desktop | 10 ------ .../files/3.0/xdg/redcore-getlivehelp.desktop | 9 ----- .../redcore-skel/files/3.0/xdg/redcore-git.desktop | 9 ----- .../files/3.0/xdg/redcore-homepage.desktop | 10 ------ .../files/3.0/xdg/redcore-mirrors.desktop | 9 ----- .../files/3.0/xdg/redcore-redcore.directory | 8 ----- .../files/3.0/xdg/redcore-wiki.desktop | 10 ------ .../files/menu/img/redcore-weblink.png | Bin 0 -> 5713 bytes .../files/menu/xdg/redcore-gentoo.desktop | 10 ++++++ .../files/menu/xdg/redcore-getlivehelp.desktop | 9 +++++ .../files/menu/xdg/redcore-git.desktop | 9 +++++ .../files/menu/xdg/redcore-homepage.desktop | 10 ++++++ .../files/menu/xdg/redcore-mirrors.desktop | 9 +++++ .../files/menu/xdg/redcore-redcore.directory | 6 ++++ .../files/menu/xdg/redcore-wiki.desktop | 10 ++++++ app-misc/redcore-skel/redcore-skel-1710.ebuild | 37 ++++++++++++--------- 17 files changed, 85 insertions(+), 80 deletions(-) delete mode 100644 app-misc/redcore-skel/files/3.0/img/redcore-weblink.png delete mode 100644 app-misc/redcore-skel/files/3.0/xdg/redcore-gentoo.desktop delete mode 100644 app-misc/redcore-skel/files/3.0/xdg/redcore-getlivehelp.desktop delete mode 100644 app-misc/redcore-skel/files/3.0/xdg/redcore-git.desktop delete mode 100644 app-misc/redcore-skel/files/3.0/xdg/redcore-homepage.desktop delete mode 100644 app-misc/redcore-skel/files/3.0/xdg/redcore-mirrors.desktop delete mode 100644 app-misc/redcore-skel/files/3.0/xdg/redcore-redcore.directory delete mode 100644 app-misc/redcore-skel/files/3.0/xdg/redcore-wiki.desktop create mode 100644 app-misc/redcore-skel/files/menu/img/redcore-weblink.png create mode 100644 app-misc/redcore-skel/files/menu/xdg/redcore-gentoo.desktop create mode 100644 app-misc/redcore-skel/files/menu/xdg/redcore-getlivehelp.desktop create mode 100644 app-misc/redcore-skel/files/menu/xdg/redcore-git.desktop create mode 100644 app-misc/redcore-skel/files/menu/xdg/redcore-homepage.desktop create mode 100644 app-misc/redcore-skel/files/menu/xdg/redcore-mirrors.desktop create mode 100644 app-misc/redcore-skel/files/menu/xdg/redcore-redcore.directory create mode 100644 app-misc/redcore-skel/files/menu/xdg/redcore-wiki.desktop (limited to 'app-misc/redcore-skel') 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 deleted file mode 100644 index 858d375f..00000000 Binary files a/app-misc/redcore-skel/files/3.0/img/redcore-weblink.png and /dev/null differ 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 deleted file mode 100644 index 5b62299c..00000000 --- a/app-misc/redcore-skel/files/3.0/xdg/redcore-gentoo.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application - -Exec=xdg-open http://www.gentoo.org/doc/en/index.xml -Icon=redcore-weblink - -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 deleted file mode 100644 index f67fe60b..00000000 --- a/app-misc/redcore-skel/files/3.0/xdg/redcore-getlivehelp.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application - -Exec=xdg-open http://webchat.freenode.net/?channels=redcorelinux -Icon=redcore-weblink - -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 deleted file mode 100644 index 957c0fcb..00000000 --- a/app-misc/redcore-skel/files/3.0/xdg/redcore-git.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application - -Exec=xdg-open https://gitlab.com/groups/redcore -Icon=redcore-weblink - -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 deleted file mode 100644 index 26022c7a..00000000 --- a/app-misc/redcore-skel/files/3.0/xdg/redcore-homepage.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application - -Exec=xdg-open http://redcorelinux.org -Icon=redcore-weblink - -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 deleted file mode 100644 index 5dea6702..00000000 --- a/app-misc/redcore-skel/files/3.0/xdg/redcore-mirrors.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application - -Exec=xdg-open http://mirror.math.princeton.edu/pub/redcorelinux/iso -Icon=redcore-weblink - -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 deleted file mode 100644 index c22de2f8..00000000 --- a/app-misc/redcore-skel/files/3.0/xdg/redcore-redcore.directory +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Directory - -Icon=redcore-weblink -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 deleted file mode 100644 index 5d9ed278..00000000 --- a/app-misc/redcore-skel/files/3.0/xdg/redcore-wiki.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application - -Exec=xdg-open http://wiki.redcorelinux.org -Icon=redcore-weblink - -Name=Redcore Documentation -Name[ro]=Documentație Redcore - diff --git a/app-misc/redcore-skel/files/menu/img/redcore-weblink.png b/app-misc/redcore-skel/files/menu/img/redcore-weblink.png new file mode 100644 index 00000000..858d375f Binary files /dev/null and b/app-misc/redcore-skel/files/menu/img/redcore-weblink.png differ diff --git a/app-misc/redcore-skel/files/menu/xdg/redcore-gentoo.desktop b/app-misc/redcore-skel/files/menu/xdg/redcore-gentoo.desktop new file mode 100644 index 00000000..5b62299c --- /dev/null +++ b/app-misc/redcore-skel/files/menu/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=redcore-weblink + +Name=Gentoo Documentation +Name[ro]=Documentație Gentoo + diff --git a/app-misc/redcore-skel/files/menu/xdg/redcore-getlivehelp.desktop b/app-misc/redcore-skel/files/menu/xdg/redcore-getlivehelp.desktop new file mode 100644 index 00000000..f67fe60b --- /dev/null +++ b/app-misc/redcore-skel/files/menu/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=redcore-weblink + +Name=Get Live Help +Name[ro]=Cere Ajutor Online diff --git a/app-misc/redcore-skel/files/menu/xdg/redcore-git.desktop b/app-misc/redcore-skel/files/menu/xdg/redcore-git.desktop new file mode 100644 index 00000000..957c0fcb --- /dev/null +++ b/app-misc/redcore-skel/files/menu/xdg/redcore-git.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open https://gitlab.com/groups/redcore +Icon=redcore-weblink + +Name=Redcore Git Repos +Name[ro]=Depozite Redcore diff --git a/app-misc/redcore-skel/files/menu/xdg/redcore-homepage.desktop b/app-misc/redcore-skel/files/menu/xdg/redcore-homepage.desktop new file mode 100644 index 00000000..26022c7a --- /dev/null +++ b/app-misc/redcore-skel/files/menu/xdg/redcore-homepage.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://redcorelinux.org +Icon=redcore-weblink + +Name=Redcore Homepage +Name[ro]=Pagina Web Redcore + diff --git a/app-misc/redcore-skel/files/menu/xdg/redcore-mirrors.desktop b/app-misc/redcore-skel/files/menu/xdg/redcore-mirrors.desktop new file mode 100644 index 00000000..5dea6702 --- /dev/null +++ b/app-misc/redcore-skel/files/menu/xdg/redcore-mirrors.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://mirror.math.princeton.edu/pub/redcorelinux/iso +Icon=redcore-weblink + +Name=Download +Name[ro]=Descarcare diff --git a/app-misc/redcore-skel/files/menu/xdg/redcore-redcore.directory b/app-misc/redcore-skel/files/menu/xdg/redcore-redcore.directory new file mode 100644 index 00000000..e61aac8e --- /dev/null +++ b/app-misc/redcore-skel/files/menu/xdg/redcore-redcore.directory @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Directory + +Icon=redcore-weblink +Name=Redcore Linux diff --git a/app-misc/redcore-skel/files/menu/xdg/redcore-wiki.desktop b/app-misc/redcore-skel/files/menu/xdg/redcore-wiki.desktop new file mode 100644 index 00000000..5d9ed278 --- /dev/null +++ b/app-misc/redcore-skel/files/menu/xdg/redcore-wiki.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=xdg-open http://wiki.redcorelinux.org +Icon=redcore-weblink + +Name=Redcore Documentation +Name[ro]=Documentație Redcore + diff --git a/app-misc/redcore-skel/redcore-skel-1710.ebuild b/app-misc/redcore-skel/redcore-skel-1710.ebuild index 8e43bbbf..107e4602 100644 --- a/app-misc/redcore-skel/redcore-skel-1710.ebuild +++ b/app-misc/redcore-skel/redcore-skel-1710.ebuild @@ -7,7 +7,7 @@ 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" +HOMEPAGE="https://redcorelinux.org" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" @@ -20,23 +20,30 @@ RDEPEND=" x11-themes/redcore-artwork-community x11-themes/redcore-artwork-core" +S="${WORKDIR}/${P}" + 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 - - dodir /etc/xdg/autostart - insinto /etc/xdg/autostart + dodir etc/skel + insinto etc/skel + doins -r skel/* + doins -r skel/.* + + dodir usr/share/desktop-directories + insinto usr/share/desktop-directories + doins "${FILESDIR}"/menu/xdg/*.directory + + dodir usr/share/redcore + insinto usr/share/redcore + doins -r "${FILESDIR}"/menu/* + + doicon "${FILESDIR}"/menu/img/redcore-weblink.png + + dodir etc/xdg/autostart + insinto etc/xdg/autostart doins "${FILESDIR}"/loginsound.desktop - dodir /usr/share/sounds - insinto /usr/share/sounds + dodir usr/share/sounds + insinto usr/share/sounds doins "${FILESDIR}"/redcore.ogg } -- cgit v1.2.3