app-misc/superfile: add 1.5.0

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
ingenarel (NeoJesus)
2026-01-28 07:13:01 +06:00
parent 3780250541
commit 61fc053d7a
2 changed files with 48 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST superfile-1.4.0-deps.tar.xz 179667168 BLAKE2B 14dc1ddc70c40a4f2e040374b15675d623823f094e0318b24d4d69bc2f48a26f96a01a08107fc282d73abf873d99548fe58d64c90ad3d70b77d4749e1edb4846 SHA512 1e847973a68731ad7d17991f3166950da2824e5e6eb3c7d67304dd2974a0de47b594c29075eaf6ceef90afb8da944f400c908786f05dd5327ef1d0aaba85ceb3
DIST superfile-1.4.0.tar.gz 16293086 BLAKE2B b94a711f2f3249b9ea7a02859ba69566b29990606782b2f0f3191310eb571b4fa2eefc5d21fce67baf1f85391b0453c066ad4f42afafa34be84875f3796451e7 SHA512 8d970a5496a296801f2198729b9ce9583b7890ef1a1230c91296fd39b08f8fec0302de4bc5ce49e2b6c73e1e3cc41ed24d1124da3be1f15df9950f26c45be0cd
DIST superfile-1.5.0-deps.tar.xz 184162248 BLAKE2B efe7891a667fe8dd6c7aab70993422dad46cc0a597a68db1d455a4c7bcbeb8ff1516f9b792d0797951f29904b9d99b4217560a46de9349755979f22d1133b857 SHA512 5c0d24c04ad0a68a62f6e0bd20f57cd240a295cd55d67919055811e64d857a3369847e66a939019fafadeb3845c614ef0a4e61164987fb9811ce178ebfb65c12
DIST superfile-1.5.0.tar.gz 21111895 BLAKE2B dcc2afd5576416fa77acf4671266da5822b4efe2aebc5ca2bf6b5005eb9da7a71a338fd49230a553d26d0818f4f0e7a9365c901b55c5931ffa8be5860786bb12 SHA512 5562e779f2368a1742066062ddfb5c396c754a54fa22567e23bd9a590e37117ac37c752a15bfe94affadf37d1e71956e09d00d12e9dbe7fd8e85e794bc009b85

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Pretty fancy and modern terminal file manager"
HOMEPAGE="https://superfile.dev"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/yorukot/superfile.git"
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/yorukot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-go-mod-deps.tar.xz ->
${P}-deps.tar.xz
"
# you can either use -go-mod-deps or -vendor-deps for the file
# vendor-deps are small, but may not work for some packages/version
# go-mod-deps are LARGE, but will most likely always work
fi
LICENSE="MIT"
#gentoo-go-license superfile-1.5.0.ebuild
LICENSE+=" Apache-2.0 BSD-2 BSD GPL-3 ISC MIT MPL-2.0 "
SLOT="0"
BDEPEND=">=dev-lang/go-1.25.5"
src_unpack() {
if [[ "${PV}" == 9999* ]];then
git-r3_src_unpack
go-module_live_vendor
else
default
fi
}
src_compile() {
CGO_ENABLED=0 ego build -o bin/spf
}
src_install() {
dobin bin/spf
}