diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-13 16:00:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-13 16:00:36 +0100 |
commit | ce322b0a8ea75204f09978f2237e7a19f61ad96a (patch) | |
tree | 7b0a6a4351b2f304e41e32c3d8ca422a979de3e5 /packages/x11-themes/redcore-artwork-core | |
parent | 1b7bfe5c40035db77b8315dae7992c3dad85e3ce (diff) |
x11-themes/redcore-artwork-core : initial exheres && sys-boot/plymouth : depend on x11-themes/redcore-artwork-core
Diffstat (limited to 'packages/x11-themes/redcore-artwork-core')
-rw-r--r-- | packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 b/packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 new file mode 100644 index 0000000..95efdf9 --- /dev/null +++ b/packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 @@ -0,0 +1,62 @@ +# 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="" + +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 + + 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) + _dracut_initramfs_regen +} |