mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-11-21 10:01:31 -08:00
add app-shells/oh-my-zsh/oh-my-zsh-20180612.ebuild
This commit is contained in:
parent
9aab72c8ae
commit
7aa1d40102
@ -1,5 +1,6 @@
|
||||
EBUILD oh-my-zsh-20171017-r1.ebuild 1715 SHA256 413a1410f1fbd68a332655f2d05466e785c3c9216d660ff0dd8db551fc967959 SHA512 0694b95d2d8a9536012c3b1d7c05c2c1df832106a521e859161b0207c88c59fef90e3fd417044652ae7b5345ba00feb69db22c30834aaa0be71c90e793565583 WHIRLPOOL 08502d08214657473e361cf568abb066a15ac9f1aeb916ab0b5d4b11ec0136543f9f9a21bb684200326dd38a6464e6ef0afb4b24b0c231a1e5004e15073d85b0
|
||||
EBUILD oh-my-zsh-20171217-r1.ebuild 1715 SHA256 2d62ed953606d266a4c41f8ff9bcee05d1869dce507aef11c3ed9c0dcfa297f2 SHA512 acf9a5fe9cc8b98c42ef7251ab782e7251c5f563bb11c59c820a5687366d2862e2caf82493c882608f32a225d2252da3a8d0b4182c2e05ffb33ecc5c1f9f23fc WHIRLPOOL 31a4450d53da93ae4a6bf9e06502a8aa66cd0682c0c1e266148d7321bc1efa42d7df6e29c7c373d3d45ecdf82ca32e08f9f5e7ff81d820fc0f0325909c88ec14
|
||||
EBUILD oh-my-zsh-20180219-r1.ebuild 2063 SHA256 5236e330f0aa70ce18217d9fda28bfc483787e2c0d87d93f697c8d487f3836c3 SHA512 26be8dfe6aaa414ed439b87895568bccde66f0faceda1c68dbd347bb31b3f5d10b1e14960adb7600d1025a32cde4f48fd0b63f5dfef1d88337f5389e40bfe14c WHIRLPOOL 42c13d736a1cc5b038ff39b535f7d6c2adbb41bf811dc9f68d7c96186b3d35cf7a858a20914a56b8c6d2fa34f880bacc8500716680adccd75baf34908e2ffd4a
|
||||
MISC README.md 206 SHA256 74e61d91dc82713a13d318f251fece1d46979669a12fcb4026edcca8e56f34b5 SHA512 4252c5f2f3d2b29f8e9ae11f66d9a8e7a99ce8522b50b89ccbd54d06bf73b50dc0b0c3b882c21431828da5bc3561b63fe62b9fac6570a55f792bd2abd202d0a8 WHIRLPOOL 09c0af040f4d1d99769d4f2890a4d271ffacc4d09ca0ff2eb6f6725ba770b32886f7b9d0cbc94d9c5f24cbd84635f9b5fd4aca971aea3268fb8bf51212a47558
|
||||
MISC metadata.xml 222 SHA256 f41a53e7bfb1eeafcb57bea0b0a2249a053267c03d444ce6cb62077bb5fc27e9 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef WHIRLPOOL 2e6b58f457c8d368b58e8396edba4364c28d9890a1903973809089e175457f754be7ea65400a9ee2b6223ed4cf23dde7fbdc7162537ecc218e9c637e78a814c0
|
||||
EBUILD oh-my-zsh-20171017-r1.ebuild 1715 BLAKE2B 3e602fdbb8820013880ec44a749d2533f7d0dc55adaa90ec15fbc0a6a016733f351d9522ef33cc66441e6a9ae8150688732fa5585f50d82fb71adb1439373ca2 SHA512 0694b95d2d8a9536012c3b1d7c05c2c1df832106a521e859161b0207c88c59fef90e3fd417044652ae7b5345ba00feb69db22c30834aaa0be71c90e793565583
|
||||
EBUILD oh-my-zsh-20171217-r1.ebuild 1715 BLAKE2B e28bf7eb2e35270f4d19506d1abccf4898e9309eacd923cfebb77ad278914aba9c1a934aceed9166ae23c4d8e786f39db908330c43196fa07a4cbf6cbbcdda87 SHA512 acf9a5fe9cc8b98c42ef7251ab782e7251c5f563bb11c59c820a5687366d2862e2caf82493c882608f32a225d2252da3a8d0b4182c2e05ffb33ecc5c1f9f23fc
|
||||
EBUILD oh-my-zsh-20180219-r1.ebuild 2063 BLAKE2B 5c4c56ea2e248fdc337fdb48a9558da1cbca239725027893451241186052e52eb3df6c7f22bdc8bc0ad2164d242d6bceb13c907b87863c7f964522ac1ff6d64d SHA512 26be8dfe6aaa414ed439b87895568bccde66f0faceda1c68dbd347bb31b3f5d10b1e14960adb7600d1025a32cde4f48fd0b63f5dfef1d88337f5389e40bfe14c
|
||||
EBUILD oh-my-zsh-20180612.ebuild 2063 BLAKE2B 0203bd37a357a72242fcf6e4a0674fd5369ad6a33d8e7c199a3004e1f57de9ba406547e752e0544d25362ce8ea2bfbd260e1729d8f2e97f293970e8a480aee05 SHA512 529a9d0626abb50c28114b17771ff45f9cd07402ae39f484b30c59e4d73849ea63b6ac633bccc81cc5623e9a2a2e8f6c9476c53930772546548623cf94cc5efc
|
||||
MISC README.md 206 BLAKE2B b60e00695526573cb1231a568ebdcc79654043923e2f01f258d28f2b24db41cf3d48ea0354daaf0c28c154dcf64ba8ee28ce583dbae9beef01f702a7ee006a36 SHA512 4252c5f2f3d2b29f8e9ae11f66d9a8e7a99ce8522b50b89ccbd54d06bf73b50dc0b0c3b882c21431828da5bc3561b63fe62b9fac6570a55f792bd2abd202d0a8
|
||||
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
||||
|
67
app-shells/oh-my-zsh/oh-my-zsh-20180612.ebuild
Normal file
67
app-shells/oh-my-zsh/oh-my-zsh-20180612.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://github.com/robbyrussell/${PN}.git"
|
||||
EGIT_COMMIT="019e0d7c71429650de33b5fb48b066ee46f37199"
|
||||
inherit git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A ready-to-use zsh configuration with plugins"
|
||||
HOMEPAGE="https://github.com/robbyrussell/oh-my-zsh"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE=MIT
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+doc"
|
||||
PROPERTIES="live"
|
||||
|
||||
RDEPEND="app-shells/zsh"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
ZSH_EDEST="${EPREFIX}${ZSH_DEST}"
|
||||
ZSH_TEMPLATE="templates/zshrc.zsh-template"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/${ZSH_TEMPLATE}'
|
||||
or copy a modification of that file to your ~/.zshrc
|
||||
If you just want to try, enter the above command in your zsh."
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
for i in "${S}"/tools/*install* "${S}"/tools/*upgrade*
|
||||
do test -f "${i}" && : >"${i}"
|
||||
done
|
||||
|
||||
sed -i -e 's!^ZSH=.*$!ZSH='"${ZSH_EDEST}"'!' \
|
||||
-e 's!\(^export ZSH=.*$\)!# \1\nexport ZSH='"${ZSH_DEST}"'!' \
|
||||
-e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||
"${S}/${ZSH_TEMPLATE}"
|
||||
|
||||
sed -i -e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||
"${S}/plugins/dirpersist/dirpersist.plugin.zsh"
|
||||
|
||||
sed -i -e '/zstyle.*cache/d' "${S}/lib/completion.zsh"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${ZSH_DEST}"
|
||||
doins -r *
|
||||
use doc && readme.gentoo_create_doc
|
||||
use doc && dodoc CONTRIBUTING.md LICENSE.txt README.md
|
||||
cd "${D}"
|
||||
use doc || find -name README.md -exec rm -rf {} +
|
||||
use doc || find -name README -exec rm -rf {} +
|
||||
use doc || find -name README.txt -exec rm -rf {} +
|
||||
use doc || find -name CONTRIBUTING.md -exec rm -rf {} +
|
||||
use doc || find -name .git* -exec rm -rf {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use doc && readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user