app-misc/superfile: bump to 1.3.2; use a template for 9999

Signed-off-by: ingenarel <ingenarelitems@gmail.com>
This commit is contained in:
ingenarel
2025-07-20 06:55:24 +06:00
parent eb7a41268c
commit 3048d2d7b5
3 changed files with 47 additions and 7 deletions

View File

@@ -6,3 +6,5 @@ DIST superfile-1.2.1-vendor.tar.xz 187944436 BLAKE2B 54eba3fa2f1ba74b030418ea894
DIST superfile-1.2.1.tar.gz 10131519 BLAKE2B 2b2920ec1fcd6a808e35fa616b706d857a7b52c00d9e9247792a02665b63c1d96293824ddf082f9b3aa7b0fbf961d1d9db82165b9c67fe88d276e5083f4670f9 SHA512 7a4f501a4dacb35351ed96cb3ef6b7eb7db1ac02c1e8dc0c09e4d1a2cb88519e213eafad7c32b0d399756bedaf43e593d9da0f054cafa1e91790123aa909dc79
DIST superfile-1.3.1-deps.tar.xz 188305480 BLAKE2B e50d9fb42b986e3612419dc4e6a93766b1b4bc4b79b5bb57cabd5b04bc0b7adb8996fe6228da78fd274e46cb0a116693e3b868decb33a75231bcdfde49ed0f00 SHA512 2463ddfc65b2c462ab34d4015c163a6375a1b7787f1d4da7e4a54653acd12b09a4b6ea6bb0e51ecddfe0a938482ef0025c16a8751cdab1a7da9b6969eb828aca
DIST superfile-1.3.1.tar.gz 10640268 BLAKE2B 499a1e527d0fa1105eeed92358bb2ecb2296233a9cd16399a68e86b427592107a2f4cc73f4b26baea4af38782c947e4971254668557fdebd600d2ebe9c7cfa3a SHA512 91e2e6b0da2faf6baef3246605f8e57240f1bb54c9a19bb65a321414eb728490f594f16e0855c0b47eeb7eac3065efa86c18daf3b19712d372b7cd176c899e74
DIST superfile-1.3.2-deps.tar.xz 178794444 BLAKE2B 51049cbe6b6445c683d29c3f77f5c4ad3674bac1398ce35a051603687d08db5152f177e17a94a132986e16ae6631e9d5366d74ace8404d640b4829d97592c6be SHA512 6bdf9508e75ab4c8d48bd061f685845073147dc26a32b41a43b5e4dfe720ad77ff4c72949bd28c43b8673bc968b505feab4469627caef5e500cf0f09cfbbde2f
DIST superfile-1.3.2.tar.gz 16363697 BLAKE2B fb6de86429398b857f9c56fae267b5bd312a49f2701670beea86803590ab459e7ee349891954e5215f881cb11744c3baa74c84cdbb0b45c40edd11ad7e106b4a SHA512 427b5cce8ec8c086e66d02af219f6c6c8f37df99381d51f4115f0baed5e9d1cc4064ba8d627528aaf581e19a9ef53838f6310411102defb5620765a41688d9b0

View File

@@ -0,0 +1,32 @@
# 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.netlify.app/"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/yorukot/superfile.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/yorukot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz"
fi
LICENSE="MIT"
SLOT="0"
src_compile() {
ego build -o bin/spf
}
src_install() {
dobin bin/spf
}

View File

@@ -3,20 +3,26 @@
EAPI=8
inherit go-module git-r3
inherit go-module
DESCRIPTION="Pretty fancy and modern terminal file manager"
HOMEPAGE="https://superfile.netlify.app/"
EGIT_REPO_URI="https://github.com/yorukot/superfile.git"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/yorukot/superfile.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/yorukot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz"
fi
LICENSE="MIT"
SLOT="0"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
src_compile() {
ego build -o bin/spf
}