redo app-shells/zsh-autosuggestions

This commit is contained in:
Trent Palmer 2018-02-22 18:20:12 -08:00
parent 3b3235c715
commit 1bfa33f94b
2 changed files with 44 additions and 0 deletions

View File

@ -1,2 +1,3 @@
EBUILD zsh-autosuggestions-20171017.ebuild 818 SHA256 5c88e6001cb45cbdedb49c0b8cc333f4423c46b01a8ec2b0eccd8adecf254929 SHA512 52c018349d9eaa2d1c35ab8d057109450036a914b8fde1947780ec3f447f9079f174ef5bf105551c1435536bb903dedbc18658ba4c22c32e679e56752157b355 WHIRLPOOL d98f5884e286a97bfe416fb35d52478b4ddfd525b250ac428ed28ca86c828884af43e4c6063993d7df233b540ec7d515dd065bbcee092f17319e422abf1e154d
EBUILD zsh-autosuggestions-20171217-r1.ebuild 1045 SHA256 7f2070d3d9701eb2f0414a073563f770be64b386493f3f6f6809b0b5b5629f73 SHA512 b51a9665d8f09c329eae57a51e0fcc1e54ca5ef9e5cc5ab1b911497bbc36bdab16359913682d86387e8270ff63e60595a27fda7c9cab55dfa8e7b6625eb7b460 WHIRLPOOL f11b396f3d350489f0b8b9c096656757375d07120bd4ece7a306893c9e9acc84eae2257265947a86faeb927983d7b4b9067d755531fb4505107d71ceb3ddbec2
EBUILD zsh-autosuggestions-20171217.ebuild 818 SHA256 d136614ed20e51c1fad5098cc32c39da242866a43fb44ee4838cbff61fe2a14a SHA512 fc75d2850306c633c1871f12b595b714e8886df25b02adeb883d4d03d4f0bf7d8826abc3901af20326954acacd5a9b7d410b77ece4c110553a7d9fc7f2d271a2 WHIRLPOOL b26a31227eba9ca36aa8ae210cd31c5c0e1e5f3ec28e28949e7d9add76a72dddc49fd077cf13aac26ee3d5d10f2932498427c78532ca3d3023a2d08ff2e9c358

View File

@ -0,0 +1,43 @@
# 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-autosuggestions"
EGIT_COMMIT="c7d4a85031c101ef9bce0018096622087894dd09"
SRC_URI=""
EGIT_REPO_URI="${HOMEPAGE}"
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() {
cd ${S}
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}"
}