mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
sstelfox-dotfiles: he's always been my hero
This commit is contained in:
parent
8f824b37a5
commit
67c5c34558
2 changed files with 40 additions and 0 deletions
14
app-misc/sstelfox-dotfiles/metadata.xml
Normal file
14
app-misc/sstelfox-dotfiles/metadata.xml
Normal 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>
|
||||
26
app-misc/sstelfox-dotfiles/sstelfox-dotfiles-9999.ebuild
Normal file
26
app-misc/sstelfox-dotfiles/sstelfox-dotfiles-9999.ebuild
Normal 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
|
||||
}
|
||||
Loading…
Reference in a new issue