x11-themes/dracula-gtk-theme - 3.0 (wayland-desktop)

Search

Install

Install this version:

emerge -a =x11-themes/dracula-gtk-theme-3.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-themes/dracula-gtk-theme-3.0

Or alternatively:

emerge --autounmask-write -a =x11-themes/dracula-gtk-theme-3.0

Package Information

Description:
Dracula GTK theme
Homepage:
https://draculatheme.com/gtk
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2021 Aisha Tammy
# Distributed under the terms of the ISC License

EAPI=8

inherit xdg

DESCRIPTION="Dracula GTK theme"
HOMEPAGE="https://draculatheme.com/gtk"
SRC_URI="
	https://github.com/dracula/gtk/releases/download/v${PV}/Dracula-pink-accent.tar.xz -> ${P}-pink.tar.xz
	https://github.com/dracula/gtk/releases/download/v${PV}/Dracula.tar.xz -> ${P}.tar.xz
"
#https://github.com/dracula/gtk/releases/download/v${PV}/Dracula-shell-pink-accent-v40.tar.xz -> ${P}-pink-v40.tar.xz
#https://github.com/dracula/gtk/releases/download/v${PV}/Dracula-shell-v40.tar.xz -> ${P}-v40.tar.xz

S="${WORKDIR}"

KEYWORDS="~amd64"
LICENSE="GPL-3"
SLOT="0"

src_prepare() {
	default
	local theme
	for theme in * ; do
		sed -e "/^Name\s*=Ant-Dracula/s|^.*$|Name=${theme}|" \
			-i "${theme}"/index.theme || die
	done
}

src_install() {
	insinto /usr/share/themes
	doins -r "${S}"/.
}

Inherited Eclasses

xdg

Manifest for 3.0

Type File Size Source URLs
DIST dracula-gtk-theme-3.0-pink.tar.xz 403652 bytes https://github.com/dracula/gtk/releases/download/v3.0/Dracula-pink-accent.tar.xz
DIST dracula-gtk-theme-3.0.tar.xz 422984 bytes https://github.com/dracula/gtk/releases/download/v3.0/Dracula.tar.xz