blob: c13c32072e461d0ea7754fa1dee2e97d4b7ad73f (
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
|
# Copyright 2016 Redcore Linux
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils
DESCRIPTION="Offical Redcore Linux Core Artwork"
HOMEPAGE="http://redcorelinux.org"
SRC_URI="http://redcorelinux.org/distfiles/${CATEGORY}/${PN}/"${PN}"-${PV}.tar.xz"
LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""
RDEPEND="sys-apps/findutils"
S="${WORKDIR}"/"${PN}"
src_install() {
# Cursors
insinto /usr/share/cursors/xorg-x11/
doins -r "${S}"/mouse/Hacked-Red
# Wallpapers
insinto /usr/share/backgrounds/
doins -r "${S}"/background/nature
# Logos
insinto /usr/share/pixmaps/
doins "${S}"/logo/*.png
# Plymouth theme
insinto /usr/share/plymouth
doins "${S}"/plymouth/bizcom.png # back to our bizcom
insinto /usr/share/plymouth/themes
doins -r "${S}"/plymouth/themes/redcore
# Apply our tricks
insinto /usr/share/cursors/xorg-x11
dosym Hacked-Red /usr/share/cursors/xorg-x11/default || "Hacked-Red not found" #set default xcursor
}
pkg_postinst() {
# regenerate initramfs to include plymouth theme changes
dracut -f
}
|