sstelfox-dotfiles: he's always been my hero

This commit is contained in:
Rick Farina (Zero_Chaos) 2025-01-22 12:15:34 -05:00
parent 8f824b37a5
commit 67c5c34558
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sidhayn@gmail.com</email>
<name>Zero_Chaos</name>
</maintainer>
<upstream>
<remote-id type="github">sstelfox/dotfiles</remote-id>
</upstream>
<use>
<flag name="nvim">Symlink nvim config into skel</flag>
</use>
</pkgmetadata>

View file

@ -0,0 +1,26 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="Sam Stelfox's dotfiles"
HOMEPAGE="https://github.com/sstelfox/dotfiles"
EGIT_REPO_URI="https://github.com/sstelfox/dotfiles.git"
LICENSE="MIT"
SLOT="0"
IUSE="nvim"
RDEPEND="nvim? ( app-editors/neovim )"
src_install() {
insinto "/usr/share/${PN}"
doins -r *
if use nvim; then
dodir /etc/skel
ln -s "/usr/share/${PN}/nvim" /etc/skel/nvim || die
fi
}