blob: d0eed0ccb09b3bc8d4d4bff00c59107179230a88 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 2018 Redcore Linux Project
# Distributed under the terms of the GNU General Public License v2
DOWNLOADS="http://mirrors.redcorelinux.org/redcorelinux/distfiles/${PN}.tar.xz"
SUMMARY="Redcore Linux Project core artwork (plymouth, cursors, logos, wallpapers)"
DESCRIPTION="Redcore Linux Project core artwork"
HOMEPAGE="https://redcorelinux.org"
LICENCES="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS=""
DEPENDENCIES="
run:
x11-themes/hicolor-icon-theme[>=0.10]
"
WORK="${WORKBASE}"/"${PN}"
src_prepare() {
:
}
src_configure() {
:
}
src_compile() {
:
}
src_install() {
dodir /usr/share/cursors/xorg-x11/
insinto /usr/share/cursors/xorg-x11/
doins -r mouse/Hacked-Red
dosym ../../../../usr/share/cursors/xorg-x11/Hacked-Red usr/share/cursors/xorg-x11/default
dodir /usr/share/backgrounds/
insinto /usr/share/backgrounds/
doins -r background/nature
dodir /usr/share/pixmaps/
insinto /usr/share/pixmaps/
doins logo/*.png
dodir /usr/share/plymouth/
insinto /usr/share/plymouth/
doins plymouth/bizcom.png
dodir /usr/share/plymouth/themes/
insinto /usr/share/plymouth/themes/
doins -r plymouth/themes/redcore
}
_dracut_initramfs_regen() {
if [ -x $(which dracut) ]; then
dracut -N -f --no-hostonly-cmdline
fi
}
pkg_postinst() {
# regenerate dracut initramfs (reason : include updated plymouth theme)
if [ $(stat -c %d:%i /) == $(stat -c %d:%i /proc/1/root/.) ]; then
_dracut_initramfs_regen
fi
}
|