From 33eaa9ce7944d62bed6292fe54f67a600bf06f13 Mon Sep 17 00:00:00 2001 From: layman Date: Tue, 12 Jun 2018 04:34:51 -0700 Subject: [PATCH] add app-shells/zsh-autosuggestions/zsh-autosuggestions-0.4.3.ebuild --- app-shells/zsh-autosuggestions/Manifest | 8 ++-- .../zsh-autosuggestions-0.4.3.ebuild | 40 +++++++++++++++++++ 2 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 app-shells/zsh-autosuggestions/zsh-autosuggestions-0.4.3.ebuild diff --git a/app-shells/zsh-autosuggestions/Manifest b/app-shells/zsh-autosuggestions/Manifest index 0a9a6fe..e03d101 100644 --- a/app-shells/zsh-autosuggestions/Manifest +++ b/app-shells/zsh-autosuggestions/Manifest @@ -1,3 +1,5 @@ -EBUILD zsh-autosuggestions-20171017.ebuild 818 SHA256 5c88e6001cb45cbdedb49c0b8cc333f4423c46b01a8ec2b0eccd8adecf254929 SHA512 52c018349d9eaa2d1c35ab8d057109450036a914b8fde1947780ec3f447f9079f174ef5bf105551c1435536bb903dedbc18658ba4c22c32e679e56752157b355 WHIRLPOOL d98f5884e286a97bfe416fb35d52478b4ddfd525b250ac428ed28ca86c828884af43e4c6063993d7df233b540ec7d515dd065bbcee092f17319e422abf1e154d -EBUILD zsh-autosuggestions-20171217-r3.ebuild 1054 SHA256 e466dbf98d7a9e679a75d2b96967f15e4b1f0b0b579a74a5fe177ef0c03a587a SHA512 2c01db8afdc0d4d61c0f23ffaa4f5fadb8618c7f1f906b6c185844c010a12b4af5a63f25860a1facd5be8db06c87c14acdcf3f8dddcab53737d0f008be2086ef WHIRLPOOL ea581e83e8c4c42c9d925eacd92e8dd480d9580795e1ef1c6f07e4e191a87c0d6ba7f63dec36a5240a20f6c3ae13ff87dc1019ffec701575bc7fc377f6bc8a21 -MISC metadata.xml 222 SHA256 f41a53e7bfb1eeafcb57bea0b0a2249a053267c03d444ce6cb62077bb5fc27e9 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef WHIRLPOOL 2e6b58f457c8d368b58e8396edba4364c28d9890a1903973809089e175457f754be7ea65400a9ee2b6223ed4cf23dde7fbdc7162537ecc218e9c637e78a814c0 +DIST zsh-autosuggestions-0.4.3.tar.gz 20243 BLAKE2B 6569cf4999b3eb2bfe751abc65b0b2b1b2fe294de09da7c47a245ba88a1a22da090f4e4d7da003a53c07a9b2539abc9b28c6b7ff9f0550c209378e525f7bc9c7 SHA512 c9be728bfd4cea67cc580548bda4c1b043e275a5a6f0c2134120e7e62e4522da2eddfff4c9414b5d6f28210d2f0b0f5bf008e7275c977c81bd61194f653c922c +EBUILD zsh-autosuggestions-0.4.3.ebuild 1031 BLAKE2B d603a4defa9b109bb8bdb07394ea748f46a75f6847eabda93774a3416905d7efa5f2346c4ee29f17c167af557fbc9dc3a0bc98ed17c3e5f9a8afa822559bb278 SHA512 734cc3633c4f1725b566c65b321118dccffd5f8b6cca52ac06ca3da3ac03e5b95c0bdb858d08e7afa3215cdaa054caa0b2b04aa16a81db5e7539c7ba03c944d1 +EBUILD zsh-autosuggestions-20171017.ebuild 818 BLAKE2B 32776b26bb261ddc661d06af4c1d6bb60233534151121176036502b0b6c8c2f182d4671dcae63740820da573bb3d54ce8e1a7c40bc7f4082b59a5a17b2cfa041 SHA512 52c018349d9eaa2d1c35ab8d057109450036a914b8fde1947780ec3f447f9079f174ef5bf105551c1435536bb903dedbc18658ba4c22c32e679e56752157b355 +EBUILD zsh-autosuggestions-20171217-r3.ebuild 1054 BLAKE2B dbf12d202db8738a44a37ebaab8a20aec73eb5a1523a73697dd0b24696523c23e71a254f793910a8ac3da17cc92bf5f2805e6ec381724d5d12ed8bf556b36236 SHA512 2c01db8afdc0d4d61c0f23ffaa4f5fadb8618c7f1f906b6c185844c010a12b4af5a63f25860a1facd5be8db06c87c14acdcf3f8dddcab53737d0f008be2086ef +MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef diff --git a/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.4.3.ebuild b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.4.3.ebuild new file mode 100644 index 0000000..8ef0c79 --- /dev/null +++ b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.4.3.ebuild @@ -0,0 +1,40 @@ +# 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 fast/unobtrusive autosuggestions for zsh" +HOMEPAGE="https://github.com/zsh-users/zsh-autosuggestions" +SRC_URI="https://github.com/zsh-users/zsh-autosuggestions/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +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-autosuggestions.zsh'" + +src_compile() { + make -B zsh-autosuggestions.zsh +} + +src_install() { + install -d "${D}${ZSH_DEST}" + cp -a --no-preserve=ownership "zsh-autosuggestions.zsh" "${D}${ZSH_DEST}/" + use doc && dodoc CHANGELOG.md DESCRIPTION README.md LICENSE VERSION + use doc && readme.gentoo_create_doc +} + +pkg_postinst() { + use doc && readme.gentoo_print_elog + elog "${DOC_CONTENTS}" +}