aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar <somerand0mcat@hotmail.com>2024-06-24 13:03:41 +0300
committerOmar <somerand0mcat@hotmail.com>2024-06-24 13:03:41 +0300
commit925349991ccb00a5c188f9ba5785204f24391b69 (patch)
treec838f89cb23a3a38dff22035ab9033da900ac32a /x11-themes
parentx11-themes/catppuccin-neovim: new package, add 1.7.0 (diff)
downloadguru-925349991ccb00a5c188f9ba5785204f24391b69.tar.gz
guru-925349991ccb00a5c188f9ba5785204f24391b69.tar.bz2
guru-925349991ccb00a5c188f9ba5785204f24391b69.zip
fix catppuccin-neovim v1.7.0 ebuild
Signed-off-by: Omar <somerand0mcat@hotmail.com>
Diffstat (limited to 'x11-themes')
-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
}