blob: 3ad998cbf4c8993060cb187b47faed7f9d3d8c7f (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit grub2-theme rpm
SLOT="13.1"
MY_PN=branding-openSUSE-${SLOT}
DESCRIPTION="Grub2 GFX theme openSUSE"
HOMEPAGE="https://github.com/openSUSE/branding"
SRC_URI="http://download.opensuse.org/source/distribution/${SLOT}/repo/oss/suse/src/${MY_PN}-${PV}.src.rpm"
LICENSE="all-rights-reserved" # bits re-used from various places, see README
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}"/openSUSE/
src_unpack() {
rpm_src_unpack
tar xf openSUSE.tar.xz || die
}
src_compile() {
:
}
src_install() {
local theme_dir="${GRUB2_THEME_DIR}"/openSUSE-${SLOT}
insinto "${theme_dir}"
doins -r grub2/theme/*
doins -r grub2/backgrounds
dosym backgrounds/640x480.png "${theme_dir}"/background.png
}
|