x11-themes/blackandwhite-gtk: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-03-17 14:38:35 +04:00
parent 20c770e6ca
commit aee2124e02
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="GTK-3 theme: simple black-and-white, minimalistic"
HOMEPAGE="https://www.gnome-look.org/p/2010116"
EGIT_REPO_URI="https://www.opencode.net/infinity64/blackandwhite-gtk"
LICENSE="GPL-3"
SLOT="0"
src_install() {
insinto /usr/share/themes/
doins -r .
}
pkg_postinst() {
einfo "In order to start SpaceFM (file manager) with it: GTK_THEME=BlackAndWhite spacefm"
einfo "or"
einfo "gsettings set org.gnome.desktop.interface gtk-theme 'BlackAndWhite'"
einfo "gsettings set org.gnome.desktop.wm gtk-theme 'BlackAndWhite'"
}

View File

@@ -0,0 +1,13 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type='person'>
<name>Vitaly Zdanevich</name>
<email>zdanevich.vitaly@ya.ru</email>
</maintainer>
<upstream>
<changelog>https://www.opencode.net/infinity64/blackandwhite-gtk/-/commits/main</changelog>
<doc>https://www.opencode.net/infinity64/blackandwhite-gtk/-/blob/main/README.md</doc>
<bugs-to>https://www.opencode.net/infinity64/blackandwhite-gtk/-/issues</bugs-to>
</upstream>
</pkgmetadata>