summaryrefslogtreecommitdiff
path: root/x11-themes/kogaion-artwork-core/kogaion-artwork-core-2.2.ebuild
blob: 031af0a8b612a710775232986bd1362f632c9b2e (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
# Copyright 2011-2015 Kogaion Linux
# Distributed under the terms of the GNU General Public License v2
# 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/distfiles/${CATEGORY}/${PN}/"${PN}"-${PV}.tar.gz"

LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~arm x86 amd64"
IUSE=""
RDEPEND="sys-apps/findutils"

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

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

	# Wallpapers
	insinto /usr/share/backgrounds/
	doins "${S}"/background/*.png
	doins -r "${S}"/background/nature

	# Plymouth theme

	#insinto /usr/share/plymouth
	#doins "${S}"/plymouth/bizcom.png # dropped with new script to avoid collision
	insinto /usr/share/plymouth/themes
	doins -r "${S}"/plymouth/themes/kogaion
	insinto /usr/share/plymouth/
	newins "${S}"/plymouth/themes/kogaion/kogaion-logo.png bizcom.png

	# Apply our tricks

	insinto /usr/share/cursors/xorg-x11
	dosym RezoBlue /usr/share/cursors/xorg-x11/default || "RezoBlue not found" #set default xcursor
	dosym /usr/share/backgrounds/entropy.png /usr/share/backgrounds/kgdm.png || "Failed to copy" #set bg for lightdm
	dosym /usr/share/backgrounds/flame.png /usr/share/backgrounds/kogaionlinux.png || "Failed to copy" #set bg for something unknown
}

pkg_postinst() {
	# mount boot first
	mount-boot_mount_boot_partition

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