add zsh-syntax-highlighting-0.6.0

This commit is contained in:
layman 2020-01-17 01:09:20 -08:00
parent de7aa4a740
commit 8909165a75
2 changed files with 46 additions and 0 deletions

View File

@ -1,4 +1,5 @@
DIST zsh-syntax-highlighting-0.6.0.tar.gz 111534 BLAKE2B 0d52f462075106dca4b0675b6d1e10b257fa1e0e6415c4f8bac7e1b4d9c94d606362624ff11d071eb565f17c3c81a25ae1f8bd0b44a3239ba747638aeab7ef1f SHA512 bb83f41336e9010aa78ee5adc9a216ee53f3b4347041d1b273083940d9db4d0e4acd960150b28c41f6e5e8d00b029f00fca6f9a46955892e4547a9f2345e3b85 DIST zsh-syntax-highlighting-0.6.0.tar.gz 111534 BLAKE2B 0d52f462075106dca4b0675b6d1e10b257fa1e0e6415c4f8bac7e1b4d9c94d606362624ff11d071eb565f17c3c81a25ae1f8bd0b44a3239ba747638aeab7ef1f SHA512 bb83f41336e9010aa78ee5adc9a216ee53f3b4347041d1b273083940d9db4d0e4acd960150b28c41f6e5e8d00b029f00fca6f9a46955892e4547a9f2345e3b85
EBUILD zsh-syntax-highlighting-0.6.0-r1.ebuild 1114 BLAKE2B fa97d8c3e84b6002ff95eafd1624003c94706bc75808ee3058b2f933eea618f39c999cb280dcffc1db660f7dae0be5141e3dda97e4b73f428276e3dff20e4393 SHA512 93b9f0e398d7dc980413269556ef48e4e5a3be391954c1486498ce3ccbaf069424b11b2a52973efb78afa947cbfb29fe776eafa9a2277fb5bba09d5e6a4d30d8 EBUILD zsh-syntax-highlighting-0.6.0-r1.ebuild 1114 BLAKE2B fa97d8c3e84b6002ff95eafd1624003c94706bc75808ee3058b2f933eea618f39c999cb280dcffc1db660f7dae0be5141e3dda97e4b73f428276e3dff20e4393 SHA512 93b9f0e398d7dc980413269556ef48e4e5a3be391954c1486498ce3ccbaf069424b11b2a52973efb78afa947cbfb29fe776eafa9a2277fb5bba09d5e6a4d30d8
EBUILD zsh-syntax-highlighting-0.6.0.ebuild 1112 BLAKE2B a02f8f454adc127389158b3fae3c81efac62aff0074e443237c5eeb50dae8c23397db1b6d9382f8fb04916f5aefd5759fd3f96482622cf1fb996f1fe5e50a1f7 SHA512 77bf48aff4fe84f5d5702e3e79cf620014e91afbd7d05e681a90392e742ec572b0160004c0697a27cd7de9d0c8d783033b6e49c8b896814d28e7c4c5de7d256d
MISC README.md 113 BLAKE2B a534676440654cc1c66a30ae58d61f74be16545ade8430d5fbf80b56084857ecbcf2a9307c4b8dd79fe6a4ef185986cbeb2ce03679016c211bf387ad3cc4e74a SHA512 35ccccbf60e7f523bdc218ba111c370ce7715f9bd33152c690d6f7ddac3e6239be6e556fca0a8a1e39ea17db81a24b256438593ea337660efcc602b4a5d850aa MISC README.md 113 BLAKE2B a534676440654cc1c66a30ae58d61f74be16545ade8430d5fbf80b56084857ecbcf2a9307c4b8dd79fe6a4ef185986cbeb2ce03679016c211bf387ad3cc4e74a SHA512 35ccccbf60e7f523bdc218ba111c370ce7715f9bd33152c690d6f7ddac3e6239be6e556fca0a8a1e39ea17db81a24b256438593ea337660efcc602b4a5d850aa
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef

View File

@ -0,0 +1,45 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils readme.gentoo-r1
DESCRIPTION="Fish shell-like syntax highlighting for Zsh"
HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting"
SRC_URI="https://github.com/zsh-users/zsh-syntax-highlighting/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="HPND"
SLOT="0"
KEYWORDS="amd64 arm"
IUSE="+doc"
DEPEND="app-shells/zsh"
RDEPEND="${DEPEND}"
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
source '${ZSH_DEST}/zsh-syntax-highlighting.zsh'"
MAKE_ARGS=(
"SHARE_DIR=${ED}/usr/share/zsh/site-contrib/${PN}"
"DOC_DIR=${ED}/usr/share/doc/${PF}"
)
src_compile() {
emake "${MAKE_ARGS[@]}"
}
src_install() {
emake "${MAKE_ARGS[@]}" install
use doc && dodoc changelog.md COPYING.md HACKING.md INSTALL.md README.md release.md
use doc && readme.gentoo_create_doc
use doc || rm -rf "${D}/usr/share/doc"
}
pkg_postinst() {
use doc && readme.gentoo_print_elog
elog "${DOC_CONTENTS}"
}