mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
app-shells/ohmyzsh: new package
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Simon van der Maas <svdm-gentoo@protonmail.com>
This commit is contained in:
1
app-shells/ohmyzsh/Manifest
Normal file
1
app-shells/ohmyzsh/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ohmyzsh-0_pre20210209.tar.gz 696345 BLAKE2B a51a47dfc655ab36d6b2d9d73726caee5d9fbb9130b071feb17440c3d04269f8f2129e9f343594315f3e1f01b1de865cdc9bbee63ba370723d88188903d5dba3 SHA512 c66c87fd767748c7849cd2c799246cc145cdabc3001ab76653794b9a73100fb412e84a006386be57bc603b9dd66d823d758ae31afc6bc0f9faea1e41f38d69f6
|
||||
8
app-shells/ohmyzsh/metadata.xml
Normal file
8
app-shells/ohmyzsh/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>svdm-gentoo@protonmail.com</email>
|
||||
<name>Simon van der Maas</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
33
app-shells/ohmyzsh/ohmyzsh-0_pre20210209.ebuild
Normal file
33
app-shells/ohmyzsh/ohmyzsh-0_pre20210209.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_COMMIT="f21e646ce6c09198f7f625c597f08af49551fdb0"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}-${MY_COMMIT}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A framework for managing your zsh configuration."
|
||||
HOMEPAGE="https://ohmyz.sh"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="app-shells/zsh"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/zsh/site-contrib/oh-my-zsh"
|
||||
doins -r *
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to use ${PN}, copy /usr/share/zsh/site-contrib/oh-my-zsh/templates/zshrc.zsh-template over to your ~/.zshrc"
|
||||
elog "and change the path of your oh-my-zsh installation to: 'export ZSH=/usr/share/zsh/site-contrib/oh-my-zsh'"
|
||||
}
|
||||
33
app-shells/ohmyzsh/ohmyzsh-9999.ebuild
Normal file
33
app-shells/ohmyzsh/ohmyzsh-9999.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_COMMIT="f21e646ce6c09198f7f625c597f08af49551fdb0"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}-${MY_COMMIT}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A framework for managing your zsh configuration."
|
||||
HOMEPAGE="https://ohmyz.sh"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="app-shells/zsh"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/zsh/site-contrib/oh-my-zsh"
|
||||
doins -r *
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to use ${PN}, copy /usr/share/zsh/site-contrib/oh-my-zsh/templates/zshrc.zsh-template over to your ~/.zshrc"
|
||||
elog "and change the path of your oh-my-zsh installation to: 'export ZSH=/usr/share/zsh/site-contrib/oh-my-zsh'"
|
||||
}
|
||||
Reference in New Issue
Block a user