parent
eab84c19ff
commit
f8cd052d84
@ -0,0 +1 @@
|
||||
DIST vimcat-1.0.0.tar.gz 21252 BLAKE2B c915a4bd1ed474d70e0c122d052e610473a50971858d9cef178afa19724990d1f1811cabe982a192211c41c9e7077772448ea67aa7df15d0898a5a364fc906fb SHA512 20c2afc4218cc1b6d35e651145334948af554e273fb799927bd4705737cba8b92e46b5532f2f3de971c14835b0493ff28a28acf7fdcd5deb2d84633dabf3b66b
|
@ -0,0 +1,42 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="vimcat: cat with vim syntax-highlighting"
|
||||
HOMEPAGE=""
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ofavre/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/ofavre/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 -x86"
|
||||
fi
|
||||
|
||||
LICENSE="bsd2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND} app-editors/vim"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} != "9999" ]]; then
|
||||
mv ${PN}{,-${PV}}
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
dobin ${PN}
|
||||
else
|
||||
dobin ${P}
|
||||
fi
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="vimcat: cat with vim syntax-highlighting"
|
||||
HOMEPAGE=""
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ofavre/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/ofavre/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 -x86"
|
||||
fi
|
||||
|
||||
LICENSE="bsd2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND} app-editors/vim"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} != "9999" ]]; then
|
||||
mv ${PN}{,-${PV}}
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
dobin ${PN}
|
||||
else
|
||||
dobin ${P}
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue