From 3d5ed46c7ec3d712230b01d54f2318c4bc08d69c Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Thu, 2 Jan 2020 22:14:52 +0100 Subject: [PATCH] Add app-shells/zsh-syntax-highlighting --- app-shells/zsh-syntax-highlighting/Manifest | 3 ++ .../zsh-syntax-highlighting-0.6.0.ebuild | 31 +++++++++++++++++++ .../zsh-syntax-highlighting-9999.ebuild | 31 +++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 app-shells/zsh-syntax-highlighting/Manifest create mode 100644 app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-0.6.0.ebuild create mode 100644 app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-9999.ebuild diff --git a/app-shells/zsh-syntax-highlighting/Manifest b/app-shells/zsh-syntax-highlighting/Manifest new file mode 100644 index 0000000..3cf3f3d --- /dev/null +++ b/app-shells/zsh-syntax-highlighting/Manifest @@ -0,0 +1,3 @@ +DIST zsh-syntax-highlighting-0.6.0.tar.gz 111534 BLAKE2B 0d52f462075106dca4b0675b6d1e10b257fa1e0e6415c4f8bac7e1b4d9c94d606362624ff11d071eb565f17c3c81a25ae1f8bd0b44a3239ba747638aeab7ef1f SHA512 bb83f41336e9010aa78ee5adc9a216ee53f3b4347041d1b273083940d9db4d0e4acd960150b28c41f6e5e8d00b029f00fca6f9a46955892e4547a9f2345e3b85 +EBUILD zsh-syntax-highlighting-0.6.0.ebuild 626 BLAKE2B f3160ec1b1f692616afa69c350757c912f74277cbdca79bb6023480db28cd5a722bef24bb49dcc88e7bcfe30cd8e4a1994231755bcdf0baac64272285c01fd69 SHA512 ebaafc12c4ededc87839b03f06882a82e030bdd170b06047be25add8eabd976b03edf34d6860f40bc81c21faf25ed00c3abc3824980b9d478667d5235d5d1fdb +EBUILD zsh-syntax-highlighting-9999.ebuild 628 BLAKE2B 162c679404e3451683bc9dafd83117218e5efc32395e23f7c0cbce7f51ba494813c8e5752bfab996ae0c315b4613421689be16fa2acfe6de67394fafc7dec877 SHA512 94ebfce2291c77406285fefff3b36cde4e6a05df69b53fdcc9c95c9e1ebb8de096d0acd21301475b04dd8cccb225afad5a4ecd8c13a5a549ae8d5d452137b8ca diff --git a/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-0.6.0.ebuild b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-0.6.0.ebuild new file mode 100644 index 0000000..893db93 --- /dev/null +++ b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-0.6.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Fish shell like syntax highlighting for Zsh." +HOMEPAGE="http://github.com/zsh-users/zsh-syntax-highlighting" + +if [[ "${PV}" = 9999 ]] ; then + EGIT_REPO_URI="https://github.com/zsh-users/zsh-syntax-highlighting.git" + inherit git-r3 +else + SRC_URI="https://github.com/zsh-users/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="app-shells/zsh" +DEPEND="${RDEPEND}" + +src_compile () +{ + emake all +} + +src_install () +{ + emake PREFIX=/usr DESTDIR="${D}" install +} diff --git a/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-9999.ebuild b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-9999.ebuild new file mode 100644 index 0000000..28c6edb --- /dev/null +++ b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Fish shell like syntax highlighting for Zsh." +HOMEPAGE="http://github.com/zsh-users/zsh-syntax-highlighting" + +if [[ "${PV}" = 9999 ]] ; then + EGIT_REPO_URI="https://github.com/zsh-users/zsh-syntax-highlighting.git" + inherit git-r3 +else + SRC_URI="https://github.com/zsh-users/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="app-shells/zsh" +DEPEND="${RDEPEND}" + +src_compile () +{ + emake all +} + +src_install () +{ + emake PREFIX=/usr DESTDIR="${D}" install +}