aboutsummaryrefslogtreecommitdiff
blob: 39c98fbb2baf6fc34d8ad2586e2b07a5ed89f0b3 (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
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DESCRIPTION="Soothing pastel theme for Neovim"
HOMEPAGE="https://github.com/catppuccin/nvim"
SRC_URI="https://github.com/catppuccin/nvim/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/nvim-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="app-editors/neovim"

src_install() {
	insinto /usr/share/nvim/runtime/colors
	doins "${S}"/colors/*.vim

	insinto /usr/share/nvim/runtime/lua/catppuccin
	doins "${S}"/lua/catppuccin/*

	insinto /usr/share/nvim/runtime/lua/barbecue/theme
	doins "${S}"/lua/barbecue/theme/*

	insinto /usr/share/nvim/runtime/lua/lualine/themes
	doins "${S}"/lua/lualine/themes/*

	insinto /usr/share/nvim/runtime/lua/reactive/presets
	doins "${S}"/lua/reactive/presets/*
}