From ebc696dc813372024b04508e30669b53a9d8e3a1 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Mon, 19 Feb 2018 14:35:31 -0800 Subject: [PATCH] version update app-shells/zsh-syntax-highlighting --- app-shells/zsh-syntax-highlighting/Manifest | 1 + .../zsh-syntax-highlighting-20180219.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-20180219.ebuild diff --git a/app-shells/zsh-syntax-highlighting/Manifest b/app-shells/zsh-syntax-highlighting/Manifest index cde46da..fb43073 100644 --- a/app-shells/zsh-syntax-highlighting/Manifest +++ b/app-shells/zsh-syntax-highlighting/Manifest @@ -1,3 +1,4 @@ EBUILD zsh-syntax-highlighting-20171017.ebuild 973 SHA256 b9168317da38e603486753f05ab8d01229a1d098516a99fbd0d57083722eb158 SHA512 892117516875ff761fcba5f5f1ea4098071cb9f1ad1fc2284444126f746cb86d9a73de73f3df6da2fb8e0dd2c21c92abf44693fbc5d62f2c13e2c358ee40acf5 WHIRLPOOL 8baa3301feced544ce4cb0cafdccdda00d813364aa6b0a8dca9efe21ac87e2bcba9f2834d3c887ad1a6de6ba561f653b5d38119a50fa23e19f334f46da024d0b EBUILD zsh-syntax-highlighting-20171217.ebuild 973 SHA256 638a3c0fe414fde2e99b9a464d7891f4db67ae5adf128a31393015d8076adb97 SHA512 2daab8ed426727002d59fd787d39a48f3242e5b4207e7bfe0db7289bd6a51ef38291ba6bf761e99533aa4fac00e93de32a7832ee6325e98c91ef83f2a597cfc1 WHIRLPOOL 3e510e3c309d1bc0c77b0e8ab1f600ec340fb54d9a0bc9adf008e41f2301d7da2d6c796d2ad43a6d76d484bd99f475e65efd2b2607f754ebb5ffb54089cb5670 +EBUILD zsh-syntax-highlighting-20180219.ebuild 973 SHA256 03a89bcbfdd2ca424ae6d992d11ea1dafd4b540e9b57e76919949015fa2b3fa6 SHA512 c7cc9185278420aeb2ebb8fa1cc3595bfb181ae395355644aa52d6e60c564e16b62527f2692305c81e826cc7675c0ff1f56c6009f4331380faa778df4b6337c7 WHIRLPOOL 847e91d37d857a9d5c4a1015efa5a9e7ec6a380fd80cd11c2e0e5f4bb0a2e9fa999a166fd3eddef7fa1885e9263d31eabea4b722b490c6cf817b92dec2835831 MISC README.md 113 SHA256 e76bdd3f858072ee75b99ec289f2927ec0f1e38856d1a095d21136b07e784a1b SHA512 35ccccbf60e7f523bdc218ba111c370ce7715f9bd33152c690d6f7ddac3e6239be6e556fca0a8a1e39ea17db81a24b256438593ea337660efcc602b4a5d850aa WHIRLPOOL e9aa1a8905607c673d8d2e5f6c7c806eb3d885cfd53659657ca4cfaea932cdca938fbc3e6add0eb3f8f5e765839678d2816b6cb8df828cf4b74a30e3b4ae985a diff --git a/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-20180219.ebuild b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-20180219.ebuild new file mode 100644 index 0000000..0e641ee --- /dev/null +++ b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-20180219.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils git-r3 readme.gentoo-r1 + +DESCRIPTION="Fish shell like fast/unobtrusive autosuggestions for zsh" +HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting" +SRC_URI="" +EGIT_REPO_URI="${HOMEPAGE}" +EGIT_COMMIT="15e288a25ca0fbad5ad3aeddf134910ee2cf5e8a" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +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 + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + elog "${DOC_CONTENTS}" +}