mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
x11-themes/obsidian2-gtk-theme: add live build
User could get latest software Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
GIT_PN="theme-obsidian-2"
|
||||
|
||||
DESCRIPTION="Obsidian Gnome Theme, based upon Adwaita-Maia dark skin"
|
||||
|
||||
HOMEPAGE="https://github.com/madmaxms/${GIT_PN}"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/madmaxms/${GIT_PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/madmaxms/${GIT_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S="${WORKDIR}/${GIT_PN}-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=x11-libs/gtk+-3.22
|
||||
x11-themes/gtk-engines-adwaita
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/themes
|
||||
doins -r Obsidian*
|
||||
}
|
||||
Reference in New Issue
Block a user