summaryrefslogtreecommitdiff
blob: 66f09c6f7c77574543f687b2b8e7e5a1de1d3849 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

inherit versionator grub2-theme rpm

MY_PV="$(replace_version_separator 2 '-')"
MY_P="grub2-theme-rosa-${MY_PV}"
DESCRIPTION="Grub2 GFX theme of ROSA Linux"
HOMEPAGE="http://wiki.rosalab.com/en/index.php/Main_Page"
SRC_URI="http://mirror.rosalab.ru/rosa/rosa2014.1/repository/SRPMS/main/release/${MY_P}.src.rpm
	http://file-store.rosalinux.ru/api/v1/file_stores/ed023d82532d53928f081248206267a8fae950c8 -> ${MY_P}.src.rpm"

LICENSE="GPL-3+"  # from grub2-theme-rosa.spec
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S="${WORKDIR}"

src_unpack() {
	rpm_src_unpack
	tar xf rosa.tar.xz || die
}

src_install() {
	insinto "${GRUB2_THEME_DIR}"
	doins -r ${PN}
}