mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-shells/zsh-autocomplete: new package, add 23.07.13, 9999
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
1
app-shells/zsh-autocomplete/Manifest
Normal file
1
app-shells/zsh-autocomplete/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST zsh-autocomplete-23.07.13.tar.gz 1711775 BLAKE2B a7067a1a54bb957c7e7141de976bd0931eea2f665853c0bf1711a73ccdb132e7b146b516ed1272f6936bc75600b59ff297716c3660d8b65cc70ebb93b4cb75a2 SHA512 a84d4fbd454d1304794fd8f45109e7ecb85d5e59ab46e5bcd1061a9a6f6c998fa21c4674fd1031bd848d9de862e4391667827ad526c70bc6e3f14e156b84af99
|
||||
11
app-shells/zsh-autocomplete/metadata.xml
Normal file
11
app-shells/zsh-autocomplete/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gonegrier.duarte@gmail.com</email>
|
||||
<name>Gonçalo Negrier Duarte</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">marlonrichert/zsh-autocomplete</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
41
app-shells/zsh-autocomplete/zsh-autocomplete-23.07.13.ebuild
Normal file
41
app-shells/zsh-autocomplete/zsh-autocomplete-23.07.13.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Real-time type-ahead completion for Zsh."
|
||||
HOMEPAGE="https://github.com/marlonrichert/zsh-autocomplete"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/marlonrichert/zsh-autocomplete.git"
|
||||
else
|
||||
SRC_URI="https://github.com/marlonrichert/zsh-autocomplete/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=app-shells/zsh-5.8"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
|
||||
. /usr/share/zsh/site-functions/${PN}/${PN}.plugin.zsh
|
||||
at the end of your ~/.zshrc"
|
||||
|
||||
src_install() {
|
||||
# Move repo/tarball folder to zsh "plugin folder"
|
||||
# Remove .git in 9999 (update using portage)
|
||||
[[ ${PV} == 9999 ]] && rm -r "${S}/.git" ||die
|
||||
mkdir -p "${ED}/usr/share/zsh/site-functions/" || die
|
||||
mv "${S}" "${ED}/usr/share/zsh/site-functions/${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
41
app-shells/zsh-autocomplete/zsh-autocomplete-9999.ebuild
Normal file
41
app-shells/zsh-autocomplete/zsh-autocomplete-9999.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Real-time type-ahead completion for Zsh."
|
||||
HOMEPAGE="https://github.com/marlonrichert/zsh-autocomplete"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/marlonrichert/zsh-autocomplete.git"
|
||||
else
|
||||
SRC_URI="https://github.com/marlonrichert/zsh-autocomplete/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=app-shells/zsh-5.8"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
|
||||
. /usr/share/zsh/site-functions/${PN}/${PN}.plugin.zsh
|
||||
at the end of your ~/.zshrc"
|
||||
|
||||
src_install() {
|
||||
# Move repo/tarball folder to zsh "plugin folder"
|
||||
# Remove .git in 9999 (update using portage)
|
||||
[[ ${PV} == 9999 ]] && rm -r "${S}/.git" ||die
|
||||
mkdir -p "${ED}/usr/share/zsh/site-functions/" || die
|
||||
mv "${S}" "${ED}/usr/share/zsh/site-functions/${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
Reference in New Issue
Block a user