From ee6f64cf347387de97dc44dab539eb65aa39281e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 May 2020 19:05:30 +0100 Subject: x11-themes/redcore-artwork-core : use the git repository instead of tarball as source --- .../redcore-artwork-core-1337-r2.ebuild | 58 --------------------- .../redcore-artwork-core-314.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 58 deletions(-) delete mode 100644 x11-themes/redcore-artwork-core/redcore-artwork-core-1337-r2.ebuild create mode 100644 x11-themes/redcore-artwork-core/redcore-artwork-core-314.ebuild diff --git a/x11-themes/redcore-artwork-core/redcore-artwork-core-1337-r2.ebuild b/x11-themes/redcore-artwork-core/redcore-artwork-core-1337-r2.ebuild deleted file mode 100644 index ba71a609..00000000 --- a/x11-themes/redcore-artwork-core/redcore-artwork-core-1337-r2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# 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="https://redcorelinux.org" -SRC_URI="http://mirror.math.princeton.edu/pub/redcorelinux/distfiles/${PN}.tar.xz" - -LICENSE="CCPL-Attribution-ShareAlike-3.0" -SLOT="0" -KEYWORDS="x86 amd64" -IUSE="+splash" -RDEPEND="sys-apps/findutils - sys-boot/plymouth - >=x11-themes/hicolor-icon-theme-0.10 - splash? ( - sys-kernel/dracut[splash] - )" - -S="${WORKDIR}"/"${PN}" - -src_install() { - # Cursors - 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 - - # Wallpapers - insinto usr/share/backgrounds/ - doins -r background/nature - - # Logos - insinto usr/share/pixmaps/ - doins logo/*.png - - # Plymouth theme - if use splash; then - insinto usr/share/plymouth - doins plymouth/bizcom.png - insinto usr/share/plymouth/themes - doins -r plymouth/themes/redcore - fi -} - -_dracut_initramfs_regen() { - if [ -x $(which dracut) ]; then - dracut -N -f --no-hostonly-cmdline - fi -} - -pkg_postinst() { - # regenerate initramfs to include plymouth theme changes - if [ $(stat -c %d:%i /) == $(stat -c %d:%i /proc/1/root/.) ]; then - _dracut_initramfs_regen - fi -} diff --git a/x11-themes/redcore-artwork-core/redcore-artwork-core-314.ebuild b/x11-themes/redcore-artwork-core/redcore-artwork-core-314.ebuild new file mode 100644 index 00000000..1df36d8e --- /dev/null +++ b/x11-themes/redcore-artwork-core/redcore-artwork-core-314.ebuild @@ -0,0 +1,59 @@ +# Copyright 2016 Redcore Linux +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils git-r3 + +DESCRIPTION="Offical Redcore Linux Core Artwork" +HOMEPAGE="https://redcorelinux.org" + +EGIT_REPO_URI="https://gitlab.com/redcore/redcore-artwork-core.git" +EGIT_BRANCH="master" +EGIT_COMMIT="fc7014337a473ff0b8956ca0b2a37b3a3242eb66" + +LICENSE="CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="+splash" +RDEPEND="sys-apps/findutils + sys-boot/plymouth + >=x11-themes/hicolor-icon-theme-0.10 + splash? ( + sys-kernel/dracut[splash] + )" + +src_install() { + # Cursors + 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 + + # Wallpapers + insinto usr/share/backgrounds/ + doins -r background/nature + + # Logos + insinto usr/share/pixmaps/ + doins logo/*.png + + # Plymouth theme + if use splash; then + insinto usr/share/plymouth + doins plymouth/bizcom.png + insinto usr/share/plymouth/themes + doins -r plymouth/themes/redcore + fi +} + +_dracut_initramfs_regen() { + if [ -x $(which dracut) ]; then + dracut -N -f --no-hostonly-cmdline + fi +} + +pkg_postinst() { + # regenerate initramfs to include plymouth theme changes + if [ $(stat -c %d:%i /) == $(stat -c %d:%i /proc/1/root/.) ]; then + _dracut_initramfs_regen + fi +} -- cgit v1.2.3