From 42996846d3a39c54f71cc3fa850d0e9c4a23ad95 Mon Sep 17 00:00:00 2001 From: layman Date: Sun, 23 Jun 2019 02:42:04 -0700 Subject: [PATCH] add zsh-autosuggestions-0.6.2 --- app-shells/zsh-autosuggestions/Manifest | 2 + .../zsh-autosuggestions-0.6.2.ebuild | 40 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.2.ebuild diff --git a/app-shells/zsh-autosuggestions/Manifest b/app-shells/zsh-autosuggestions/Manifest index 8b5e8ca..ad3ac13 100644 --- a/app-shells/zsh-autosuggestions/Manifest +++ b/app-shells/zsh-autosuggestions/Manifest @@ -1,5 +1,7 @@ DIST zsh-autosuggestions-0.5.1.tar.gz 23236 BLAKE2B 789fb40081ab9f5eda61c651f5e909a105ba9ce34eea49555fbecd9097ba73165a72a1f19642c68e3e7cc37ec4e99811ba2ead1318dc7fcd64b68415d62f65d6 SHA512 9a9ead1e4df01f2a34ad47cd245d7d42257e5e2fe4881ad5ed3816d1e1e5ee724de2e377593322e600be5dd9cb4c7dad6891076b61ded3fbd1548a4c863955f6 DIST zsh-autosuggestions-0.5.2.tar.gz 21702 BLAKE2B 88a7270d07b561d8b4829d2da315c4aa5167fc6cb8211ecd6dd8b535c9288478286941e66f50fef80ca19dacd483ba405de1aefa8fe3e52ea20811b299179863 SHA512 a435f41c535abb5a4a1b3d6339f1555981060fffc465a610605d034e7946978eff15df1f25f901dfaec31ce5a33628589fa7e7274726c8ecf94712f270f2ca53 +DIST zsh-autosuggestions-0.6.2.tar.gz 25761 BLAKE2B ba4ea4f549e89c5324a2cdcdb9128e5c0922cf81cc636b2a3ac8e84e2f2ea744e4f912e93879e462e74c256d0914e394afdce3665f490bf84e204a19bba59319 SHA512 6e7e196a34efb45aec59e40a3e90473ef01a0d91c16f1b1baf95a0ff512bf12c8615ddf58782f23cdcd7ca110967e6817a9f29fa0b38626fce60509cb9fe4bf0 EBUILD zsh-autosuggestions-0.5.1.ebuild 1034 BLAKE2B cd8d47a8097f766fa4adc24bb7f917dfd889229854a95370d8727875491a95172ef4884bacfaa28a9e5ca35b1e58e15616f5e1056b0c7a3a82e5f68a15976124 SHA512 84c50b51e34880b2fa4dee4cf62e9ca80273bbcc0a87c1173a03e8c5887b22b5e28ed5e510ac690cde784e1a59ff29b79fa6a8b1cf1fdb8bd93d52be34acf1b7 EBUILD zsh-autosuggestions-0.5.2.ebuild 1034 BLAKE2B cd8d47a8097f766fa4adc24bb7f917dfd889229854a95370d8727875491a95172ef4884bacfaa28a9e5ca35b1e58e15616f5e1056b0c7a3a82e5f68a15976124 SHA512 84c50b51e34880b2fa4dee4cf62e9ca80273bbcc0a87c1173a03e8c5887b22b5e28ed5e510ac690cde784e1a59ff29b79fa6a8b1cf1fdb8bd93d52be34acf1b7 +EBUILD zsh-autosuggestions-0.6.2.ebuild 1034 BLAKE2B cd8d47a8097f766fa4adc24bb7f917dfd889229854a95370d8727875491a95172ef4884bacfaa28a9e5ca35b1e58e15616f5e1056b0c7a3a82e5f68a15976124 SHA512 84c50b51e34880b2fa4dee4cf62e9ca80273bbcc0a87c1173a03e8c5887b22b5e28ed5e510ac690cde784e1a59ff29b79fa6a8b1cf1fdb8bd93d52be34acf1b7 MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef diff --git a/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.2.ebuild b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.2.ebuild new file mode 100644 index 0000000..7045cea --- /dev/null +++ b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.2.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 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-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}" +}