summaryrefslogtreecommitdiff
path: root/x11-themes/e-flat-theme/e-flat-theme-0_pre20191230.ebuild
blob: 1d7cedab967355d3108759c89cc5ef8f296a4848 (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
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="A modern, flat theme for Enlightenment WM"
HOMEPAGE="https://www.enlightenment.org/ https://phab.enlightenment.org/T6726"
SRC_URI="https://dev.gentoo.org/~juippis/distfiles/${P}.edj"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
IUSE=""

DEPEND=""
RDEPEND="x11-wm/enlightenment"

S="${WORKDIR}"

src_prepare() {
	default

	# doins doesn't allow installing straight from DISTDIR.
	cp "${DISTDIR}"/${P}.edj . || die "Failed to prepare theme file."
}

src_configure() { :; }
src_compile() { :; }

src_install() {
	insinto /usr/share/elementary/themes/
	newins ${P}.edj flat-0.edj
}

pkg_postinst() {
	elog "You'll find e-flat-theme under System themes in theme selector."
}