From a0146034cd01185d3712e0267ced05de5b430fdd Mon Sep 17 00:00:00 2001 From: speedie Date: Tue, 22 Nov 2022 20:01:59 +0100 Subject: [PATCH] Add lf ebuild, update speedwm-9999 --- app-misc/lf/lf-9999.ebuild | 76 +++++++++++++++++++++++++++++ metadata/md5-cache/app-misc/lf-27 | 16 ++++++ metadata/md5-cache/app-misc/lf-9999 | 15 ++++++ x11-wm/speedwm/speedwm-9999.ebuild | 3 +- 4 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 app-misc/lf/lf-9999.ebuild create mode 100644 metadata/md5-cache/app-misc/lf-27 create mode 100644 metadata/md5-cache/app-misc/lf-9999 diff --git a/app-misc/lf/lf-9999.ebuild b/app-misc/lf/lf-9999.ebuild new file mode 100644 index 0000000..1f96c38 --- /dev/null +++ b/app-misc/lf/lf-9999.ebuild @@ -0,0 +1,76 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module desktop + +DESCRIPTION="Terminal file manager" +HOMEPAGE="https://github.com/gokcehan/${PN}" + +if [[ "${PV}" = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gokcehan/${PN}.git" + KEYWORDS="amd64 x86" +else + # temporary, for some reason tarballs wont compile + die +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+docs +desktop +bash zsh fish" + +RDEPEND=" + dev-lang/go + bash? ( app-shells/bash ) + zsh? ( app-shells/zsh ) + fish? ( app-shells/fish ) +" + +DEPEND="${RDEPEND}" + +src_default() { + default +} + +src_unpack() { + git-r3_src_unpack + go-module_live_vendor +} + +src_compile () { + gen/build.sh || die +} + +src_install() { + dobin "${PN}" + + if use docs; then + doman "${PN}.1" + dodoc README.md + docinto examples + dodoc etc/{lf.{csh,vim},lfcd.{,c}sh,lfrc.example} + fi + + if use bash; then + insinto /usr/share/bash-completion/completions + newins etc/lf.bash lf + fi + + if use zsh; then + insinto /usr/share/zsh/site-functions + newins etc/lf.zsh _lf + fi + + if use fish; then + insinto /usr/share/fish/vendor_completions.d + doins etc/lf.fish + insinto /usr/share/fish/vendor_functions.d + doins etc/lfcd.fish + fi + + if use desktop; then + domenu lf.desktop + fi +} diff --git a/metadata/md5-cache/app-misc/lf-27 b/metadata/md5-cache/app-misc/lf-27 new file mode 100644 index 0000000..094d5cc --- /dev/null +++ b/metadata/md5-cache/app-misc/lf-27 @@ -0,0 +1,16 @@ +BDEPEND=>=dev-lang/go-1.18 app-arch/unzip +DEFINED_PHASES=compile install unpack +DEPEND=dev-lang/go +DESCRIPTION=Terminal file manager +EAPI=8 +HOMEPAGE=https://github.com/gokcehan/lf +INHERIT=go-module desktop +IUSE=+docs +bash zsh fish desktop +KEYWORDS=amd64 x86 +LICENSE=MIT +RDEPEND=dev-lang/go +RESTRICT=strip +SLOT=0 +SRC_URI=https://github.com/gokcehan/lf/archive/r27.tar.gz -> lf-27.tar.gz mirror://goproxy//github.com/gdamore/encoding/@v/v1.0.0.zip -> github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.zip mirror://goproxy//github.com/gdamore/encoding/@v/v1.0.0.mod -> github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.mod mirror://goproxy//github.com/gdamore/tcell/v2/@v/v2.3.1.zip -> github.com%2Fgdamore%2Ftcell%2Fv2%2F@v%2Fv2.3.1.zip mirror://goproxy//github.com/gdamore/tcell/v2/@v/v2.3.1.mod -> github.com%2Fgdamore%2Ftcell%2Fv2%2F@v%2Fv2.3.1.mod mirror://goproxy//github.com/lucasb-eyer/go-colorful/@v/v1.0.3.zip -> github.com%2Flucasb-eyer%2Fgo-colorful%2F@v%2Fv1.0.3.zip mirror://goproxy//github.com/lucasb-eyer/go-colorful/@v/v1.0.3.mod -> github.com%2Flucasb-eyer%2Fgo-colorful%2F@v%2Fv1.0.3.mod mirror://goproxy//github.com/mattn/go-runewidth/@v/v0.0.10.zip -> github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.10.zip mirror://goproxy//github.com/mattn/go-runewidth/@v/v0.0.10.mod -> github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.10.mod mirror://goproxy//github.com/rivo/uniseg/@v/v0.1.0.zip -> github.com%2Frivo%2Funiseg%2F@v%2Fv0.1.0.zip mirror://goproxy//github.com/rivo/uniseg/@v/v0.1.0.mod -> github.com%2Frivo%2Funiseg%2F@v%2Fv0.1.0.mod mirror://goproxy//golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.mod -> golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20201119102817-f84b799fce68.mod mirror://goproxy//golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.zip -> golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20220209214540-3681064d5158.zip mirror://goproxy//golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.mod -> golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20220209214540-3681064d5158.mod mirror://goproxy//golang.org/x/term/@v/v0.0.0-20201210144234-2321bbc49cbf.mod -> golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201210144234-2321bbc49cbf.mod mirror://goproxy//golang.org/x/term/@v/v0.0.0-20210220032956-6a3ed077a48d.zip -> golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20210220032956-6a3ed077a48d.zip mirror://goproxy//golang.org/x/term/@v/v0.0.0-20210220032956-6a3ed077a48d.mod -> golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20210220032956-6a3ed077a48d.mod mirror://goproxy//golang.org/x/text/@v/v0.3.0.zip -> golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.zip mirror://goproxy//golang.org/x/text/@v/v0.3.0.mod -> golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod mirror://goproxy//gopkg.in/djherbis/times.v1/@v/v1.2.0.zip -> gopkg.in%2Fdjherbis%2Ftimes.v1%2F@v%2Fv1.2.0.zip mirror://goproxy//gopkg.in/djherbis/times.v1/@v/v1.2.0.mod -> gopkg.in%2Fdjherbis%2Ftimes.v1%2F@v%2Fv1.2.0.mod +_eclasses_=go-module 4c4b34f361efda91762ffeda8f632c02 desktop 7eb20ad915a0a318176d51bc2508ff5c +_md5_=545e8102936ce49e22172f9c05a35261 diff --git a/metadata/md5-cache/app-misc/lf-9999 b/metadata/md5-cache/app-misc/lf-9999 new file mode 100644 index 0000000..994d871 --- /dev/null +++ b/metadata/md5-cache/app-misc/lf-9999 @@ -0,0 +1,15 @@ +BDEPEND=>=dev-lang/go-1.18 app-arch/unzip >=dev-vcs/git-1.8.2.1[curl] +DEFINED_PHASES=compile install unpack +DEPEND=dev-lang/go +DESCRIPTION=Terminal file manager +EAPI=8 +HOMEPAGE=https://github.com/gokcehan/lf +INHERIT=go-module desktop git-r3 +IUSE=+docs +bash zsh fish desktop +LICENSE=MIT +PROPERTIES=live +RDEPEND=dev-lang/go +RESTRICT=strip +SLOT=0 +_eclasses_=go-module 4c4b34f361efda91762ffeda8f632c02 desktop 7eb20ad915a0a318176d51bc2508ff5c git-r3 2347f8fe2d392b2a091191f94be37e6f +_md5_=545e8102936ce49e22172f9c05a35261 diff --git a/x11-wm/speedwm/speedwm-9999.ebuild b/x11-wm/speedwm/speedwm-9999.ebuild index 22ac963..627ba9d 100644 --- a/x11-wm/speedwm/speedwm-9999.ebuild +++ b/x11-wm/speedwm/speedwm-9999.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 + +EAPI=8 inherit savedconfig toolchain-funcs