enable USE="doc" in app-shells/zsh-syntax-highlighting

This commit is contained in:
layman 2018-02-23 13:02:40 -08:00
parent 868c132253
commit d09393a1be
3 changed files with 16 additions and 5 deletions

View File

@ -1,4 +1,5 @@
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
EBUILD zsh-syntax-highlighting-20180219-r1.ebuild 1142 SHA256 5616b78800c82dd57cafb435dcc035248aa059c18973afb4351f05fb067e4781 SHA512 e2ffedeb9f94799c12dce7c4ff90a7964c126627dddb9dd1a9456a4314e7d2a12ffb5084ce3497032ee36ae851ac9fe564b53b76b6d0e20272c3ed3b35673205 WHIRLPOOL 926c9634ca056385d3744e3a8571a6b1f56b540137be0833501c3b2dd7c357f1e4414e71f5d76fc3746d24f9dd38bff46880f4db031fc644c8e1798c688dbb8e
MISC README.md 113 SHA256 e76bdd3f858072ee75b99ec289f2927ec0f1e38856d1a095d21136b07e784a1b SHA512 35ccccbf60e7f523bdc218ba111c370ce7715f9bd33152c690d6f7ddac3e6239be6e556fca0a8a1e39ea17db81a24b256438593ea337660efcc602b4a5d850aa WHIRLPOOL e9aa1a8905607c673d8d2e5f6c7c806eb3d885cfd53659657ca4cfaea932cdca938fbc3e6add0eb3f8f5e765839678d2816b6cb8df828cf4b74a30e3b4ae985a
MISC metadata.xml 222 SHA256 f41a53e7bfb1eeafcb57bea0b0a2249a053267c03d444ce6cb62077bb5fc27e9 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef WHIRLPOOL 2e6b58f457c8d368b58e8396edba4364c28d9890a1903973809089e175457f754be7ea65400a9ee2b6223ed4cf23dde7fbdc7162537ecc218e9c637e78a814c0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>trenttdually@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -10,11 +10,12 @@ HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting"
SRC_URI=""
EGIT_REPO_URI="${HOMEPAGE}"
EGIT_COMMIT="15e288a25ca0fbad5ad3aeddf134910ee2cf5e8a"
PROPERTIES="live"
LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
IUSE="+doc"
DEPEND="app-shells/zsh"
RDEPEND="${DEPEND}"
@ -36,10 +37,12 @@ src_compile() {
src_install() {
emake "${MAKE_ARGS[@]}" install
readme.gentoo_create_doc
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() {
readme.gentoo_print_elog
use doc && readme.gentoo_print_elog
elog "${DOC_CONTENTS}"
}