summaryrefslogtreecommitdiff
path: root/app-misc/redcore-skel/redcore-skel-1.314.1337-r9.ebuild
blob: b833058ea834074fa7808aa1c312c979e70c6733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=8
EGIT_REPO_URI="https://pagure.io/redcore/redcore-skel.git"

inherit desktop git-r3

DESCRIPTION="Redcore Linux skel tree"
HOMEPAGE="https://redcorelinux.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="
	media-fonts/jetbrains-mono
	media-fonts/roboto
	x11-themes/material-icon-theme
	x11-themes/numix-icon-theme
	x11-themes/numix-icon-theme-circle
	x11-themes/redcore-artwork-community
	x11-themes/redcore-artwork-core
	x11-themes/redcore-artwork-grub
	x11-themes/redcore-theme
	x11-themes/redcore-theme-sddm"
S="${WORKDIR}/${P}/skel"

src_install () {
	local SKEL_HOME="/etc/skel"
	dodir "${SKEL_HOME}"
	insinto "${SKEL_HOME}"
	doins -r *
	doins -r .*
	fperms 755 "${SKEL_HOME}"/.config/autostart/scripts/disable-dpms.sh
	fperms 755 "${SKEL_HOME}"/.config/qtile/scripts/autostart.sh

	local XDG_HOME="/etc/xdg"
	dodir "${XDG_HOME}"/autostart
	insinto "${XDG_HOME}"/autostart
	doins "${FILESDIR}"/loginsound.desktop

	local SND_HOME="/usr/share/sounds"
	dodir "${SND_HOME}"
	insinto "${SND_HOME}"
	doins "${FILESDIR}"/redcore.ogg

	doicon "${FILESDIR}"/redcore-weblink.svg

	rm -rvf "${D}"/etc/.git
}