aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/catppuccin-neovim')
-rw-r--r--x11-themes/catppuccin-neovim/catppuccin-neovim-1.7.0.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-themes/catppuccin-neovim/catppuccin-neovim-1.7.0.ebuild b/x11-themes/catppuccin-neovim/catppuccin-neovim-1.7.0.ebuild
index bd657acad..5193d5610 100644
--- a/x11-themes/catppuccin-neovim/catppuccin-neovim-1.7.0.ebuild
+++ b/x11-themes/catppuccin-neovim/catppuccin-neovim-1.7.0.ebuild
@@ -4,19 +4,19 @@
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 -> catppuccin-neovim-"${PV}".tar.gz"
-S=""${WORKDIR}"/nvim-"${PV}""
+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_unpack() {
- tar -xpf /var/tmp/portage/x11-themes/catppuccin-neovim-"${PV}"/distdir/catppuccin-neovim-"${PV}".tar.gz
-}
-
src_install() {
cd ./colors
mkdir --parents "${D}"/usr/share/nvim/runtime/colors
cp -r *.vim "${D}"/usr/share/nvim/runtime/colors
+ cd ..
+ cd ./lua
+ mkdir --parents "${D}"/usr/share/nvim/runtime/lua
+ cp -r ./* "${D}"/usr/share/nvim/runtime/lua
}