x11-themes/e-flat-theme: bump to 2020-04-01 build
authorJoonas Niilola <juippis@gentoo.org>
Sun, 5 Apr 2020 07:42:53 +0000 (10:42 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 5 Apr 2020 07:42:53 +0000 (10:42 +0300)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
x11-themes/e-flat-theme/Manifest
x11-themes/e-flat-theme/e-flat-theme-0_pre20200401.ebuild [new file with mode: 0644]

index 5415d6bc115cc7b7a77c0bcc0bbed3beab3ee7bb..d8b946232adf2e8ca56d356816da08faa1a29c45 100644 (file)
@@ -1,2 +1,3 @@
 DIST e-flat-theme-0_pre20200216.edj 44070056 BLAKE2B df63fd32d0de42723fcb9c6d70d4d9a57d202f1d8b75d308d52e578b4374a3526a47d3fb4099b1b630081602897b562e7c0c3952fe80e9d649de34d770d8482a SHA512 4bf289c86e59e1a676792f0d9fd23b34cb6d81642a87ce3cd5a1097622b35aec72d9fb238873571b1ef8507972126918688f41879f7ce424ab7932da59860457
 DIST e-flat-theme-0_pre20200301.edj 45867392 BLAKE2B 1cdc143b2a6bca64d5e68b6a856c08520ef452d67d3aa2c0b0d25830821c773fe3cfaa773da3eff7a17b3f6c95be8af9b976ac16a0fa665be23fe4287d0c6d89 SHA512 664ae186c1ca7c804c9801077140d789fbce805adaf210e6094acf0c9515542af68c58b69b9344db0031a56a323666a05888ce66c816ab8af7c45096b8651490
+DIST e-flat-theme-0_pre20200401.edj 45838952 BLAKE2B 1f4180b120141c732a3ffacda6075eddb42e23ebf65a89e4f0efa904d52e1dc396c97eb0bd220fbf66d9847c866fd310aefbd48ed1360dbcbe5bbbb37b5bacef SHA512 20bed0c1630375a83db57c9019b8ddfa6302168c66d632b26eb25730cd916dcf5a621c962b4ffe659e8bcb90b555e7eec6a106e8d091e450cf1b58ac3c06a64f
diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20200401.ebuild b/x11-themes/e-flat-theme/e-flat-theme-0_pre20200401.ebuild
new file mode 100644 (file)
index 0000000..1ce5c3e
--- /dev/null
@@ -0,0 +1,43 @@
+# 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"
+
+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."
+
+       if [[ -n ${REPLACING_VERSIONS} ]]; then
+               ewarn ""
+               ewarn "You're updating flat-0 theme. Please reload Enlightenment"
+               ewarn "through Menu -> Enlightenment -> Restart, or by issuing"
+               ewarn "  enlightenment -restart"
+               ewarn ""
+       fi
+}