mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-12-24 05:02:49 -08:00
add zsh-autosuggestions-0.5.0
This commit is contained in:
parent
b680febd97
commit
2b9e08396a
@ -1,3 +1,5 @@
|
||||
DIST zsh-autosuggestions-0.4.3.tar.gz 20243 BLAKE2B 6569cf4999b3eb2bfe751abc65b0b2b1b2fe294de09da7c47a245ba88a1a22da090f4e4d7da003a53c07a9b2539abc9b28c6b7ff9f0550c209378e525f7bc9c7 SHA512 c9be728bfd4cea67cc580548bda4c1b043e275a5a6f0c2134120e7e62e4522da2eddfff4c9414b5d6f28210d2f0b0f5bf008e7275c977c81bd61194f653c922c
|
||||
DIST zsh-autosuggestions-0.5.0.tar.gz 23018 BLAKE2B 5bd43f0fb8022db31de669c105a0f6c8140f7f1609546d878fc3a8ba9f552053328263ec18f174d93beb7aaf16061972ff7119c0c43a414444237208043fc6a5 SHA512 0b26d56bd01c6a47e9a3815a5c1210b6c967c8d182544c6c2f94c02ac8135d0306a12055f1e786c9a78c2acc0f23a7b65b51410bc46408253a46cdec8e30312a
|
||||
EBUILD zsh-autosuggestions-0.4.3-r1.ebuild 1036 BLAKE2B 54b88a7d64f37a3f210042d512e20c34fb057d287d50d49cc9f1145bf460cb9b96f48840966f39d44aa1a851602faf0dd5683cd5b517d7f1bcd2ebba73ea4bb9 SHA512 904fd0edb830d89fd767afa2f0a8be0ef013edc977b66093d70e4c0c1ffacf8ec019b3e794e5fb3789af64060b6eeb94f5a83e0e57d8e991f71952dd262d3778
|
||||
EBUILD zsh-autosuggestions-0.5.0.ebuild 1034 BLAKE2B cd8d47a8097f766fa4adc24bb7f917dfd889229854a95370d8727875491a95172ef4884bacfaa28a9e5ca35b1e58e15616f5e1056b0c7a3a82e5f68a15976124 SHA512 84c50b51e34880b2fa4dee4cf62e9ca80273bbcc0a87c1173a03e8c5887b22b5e28ed5e510ac690cde784e1a59ff29b79fa6a8b1cf1fdb8bd93d52be34acf1b7
|
||||
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
||||
|
@ -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}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user