summaryrefslogtreecommitdiff
path: root/x11-themes/kogaion-artwork-core/kogaion-artwork-core-2.1.ebuild
blob: 62e194e21db93605eaa1d38be1212f5a0bda0be0 (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
# Copyright 1999-2012 Sabayon Promotion
# Copyright 2011-2015 Kogaion Linux
# Distributed under the terms of the GNU General Public License v2
# Original Authors Sabayon Team
# Maintainer BlackNoxis <stefan.cristian at rogentos.ro>

EAPI=4
inherit eutils mount-boot kogaion-artwork

DESCRIPTION="Offical Kogaion-Linux Core Artwork"
HOMEPAGE="http://www.rogentos.ro"
SRC_URI="http://pkg.rogentos.ro/~rogentos/distro/${CATEGORY}/${PN}/"${PN}"-${PV}.tar.xz
	mirror://kogaion/${CATEGORY}/"${PN}"/${P}.tar.xz"

LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~arm ~x86 ~amd64"
IUSE=""
RDEPEND="sys-apps/findutils
	!<sys-boot/grub-0.97-r22
	!x11-themes/rogentos-artwork-core"

S="${WORKDIR}"/"${PN}"

src_install() {
	# Fbsplash theme - dropped!!!
	# insinto "${S}"/fbsplash
	# dodir /etc/splash/kogaion
	# insinto /etc/splash/kogaion/
	# doins -r "${S}"/fbsplash/kogaion/*

	# Cursors
	insinto /usr/share/cursors/xorg-x11/
	doins -r "${S}"/mouse/RezoBlue

	# Wallpapers
	insinto /usr/share/backgrounds/
	doins "${S}"/background/*.png 
	doins "${S}"/background/*.jpg
	#newins kogaionlinux.png rogentos-nvidia.png

	# Backdrop functionality for Xfce
	insinto /usr/share/xfce4/backdrops/
	doins "${S}"/background/*.png 
	doins "${S}"/background/*.jpg

	# Plymouth theme
	insinto /usr/share/plymouth
	doins "${S}"/plymouth/bizcom.png
	insinto /usr/share/plymouth/themes
	doins -r "${S}"/plymouth/themes/kogaion

	insinto /usr/share/cursors/xorg-x11
	dosym RezoBlue /usr/share/cursors/xorg-x11/default || "RezoBlue not found"
}

pkg_postinst() {
	# mount boot first
	mount-boot_mount_boot_partition

	# Update Kogaion initramfs images
	# update_kogaion_kernel_initramfs_splash # Disabled. We DROP fbsplash!!!

	einfo "Please report bugs or glitches to"
	einfo "BlackNoxis"
}