summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]LICENSE0
-rwxr-xr-x[-rw-r--r--]README.md0
-rwxr-xr-x[-rw-r--r--]gui-apps/slstatus/slstatus-9999.ebuild0
-rwxr-xr-x[-rw-r--r--]gui-wm/dwl/dwl-9999.ebuild0
-rwxr-xr-x[-rw-r--r--]metadata/layout.conf0
-rw-r--r--net-im/slk/Manifest2
-rwxr-xr-x[-rw-r--r--]net-im/slk/slk-0.10.0.ebuild (renamed from net-im/slk/slk-9999.ebuild)27
-rwxr-xr-x[-rw-r--r--]profiles/eapi0
-rwxr-xr-x[-rw-r--r--]profiles/repo_name0
9 files changed, 22 insertions, 7 deletions
diff --git a/LICENSE b/LICENSE
index 707ef1b..707ef1b 100644..100755
--- a/LICENSE
+++ b/LICENSE
diff --git a/README.md b/README.md
index 5f3f4d9..5f3f4d9 100644..100755
--- a/README.md
+++ b/README.md
diff --git a/gui-apps/slstatus/slstatus-9999.ebuild b/gui-apps/slstatus/slstatus-9999.ebuild
index 1c10fab..1c10fab 100644..100755
--- a/gui-apps/slstatus/slstatus-9999.ebuild
+++ b/gui-apps/slstatus/slstatus-9999.ebuild
diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild
index 44d9bab..44d9bab 100644..100755
--- a/gui-wm/dwl/dwl-9999.ebuild
+++ b/gui-wm/dwl/dwl-9999.ebuild
diff --git a/metadata/layout.conf b/metadata/layout.conf
index 7830b41..7830b41 100644..100755
--- a/metadata/layout.conf
+++ b/metadata/layout.conf
diff --git a/net-im/slk/Manifest b/net-im/slk/Manifest
new file mode 100644
index 0000000..98d120e
--- /dev/null
+++ b/net-im/slk/Manifest
@@ -0,0 +1,2 @@
+DIST slk-0.10.0-vendor.tar.xz 26424224 BLAKE2B 73d98f6337099fb33c7fa9a8a6ce8b4f2e7ef5c980f4210957af81ba14fa5ee44d661578b54259f117fa8c6ba93989b4b0a7cbfd74e2d59ac763a4cd906c68f9 SHA512 277bef0cfd45ca1eedd20aa6917577c4101d57dfb6a0ee64c36a0aa5248c8a2720d4379cb018b4001cfda0f334119193ab3d715c150fcb0ce3acff5a350d600d
+DIST slk-0.10.0.tar.gz 2279108 BLAKE2B efd05b804ddcef56b682d2f107889a219e5ea84ee4ba6b46b00abb8f534364f1ecd8cd9fc534ea8e9e505943948e583cc650713ace26d143ae6a9aa7917b251a SHA512 64809028b7616b26e2ec606ba1534b03a9cdd5eafe5173bd80b6c0463342c20dae30bd587e91f4550d78bf34a8fe6c26dfaef4a7ccb13a5758fbb10f6ff047f1
diff --git a/net-im/slk/slk-9999.ebuild b/net-im/slk/slk-0.10.0.ebuild
index a0e76bf..84d76ed 100644..100755
--- a/net-im/slk/slk-9999.ebuild
+++ b/net-im/slk/slk-0.10.0.ebuild
@@ -23,7 +23,7 @@ EAPI=9
#
# Eclasses tend to list descriptions of how to use their functions properly.
# Take a look at the eclass/ directory for more examples.
-inherit toolchain-funcs git-r3
+inherit go-module
# Short one-line description of this package.
DESCRIPTION="A blazingly fast Slack TUI. Keyboard-driven, beautifully themed, and under 20MB. One static binary. No Electron required."
@@ -35,9 +35,11 @@ HOMEPAGE="https://getslk.sh/"
# Point to any required sources; these will be automatically downloaded by
# Portage.
-#SRC_URI="ftp://foo.example.org/${P}.tar.gz"
-EGIT_REPO_URI="https://github.com/gammons/slk.git"
-EGIT_BRANCH="main"
+SRC_URI="
+ https://github.com/gammons/slk/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://sobczak.family/tarballs/slk-${PV}-vendor.tar.xz
+"
+# go ebuilds doc https://wiki.gentoo.org/wiki/Writing_go_Ebuilds
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
@@ -80,7 +82,7 @@ SLOT="0"
# exists for. If the package was for an x86 binary package, then
# KEYWORDS would be set like this: KEYWORDS="-* x86"
# Do not use KEYWORDS="*"; this is not valid in an ebuild context.
-KEYWORDS=""
+KEYWORDS="~amd64"
# Comprehensive list of any and all USE flags leveraged in the ebuild,
# with some exceptions, e.g., ARCH specific flags like "amd64" or "ppc".
@@ -102,7 +104,8 @@ IUSE=""
# other users hopefully won't be caught without the right version of
# a dependency.
#RDEPEND="virtual/notification-daemon"
-RDEPEND="gui-apps/wl-clipboard"
+#RDEPEND="gui-apps/wl-clipboard"
+RDEPEND=""
#something different if X, and is this and notification daemon real RDEPENDs?
# Build-time dependencies that need to be binary compatible with the system
@@ -112,7 +115,10 @@ RDEPEND="gui-apps/wl-clipboard"
# Build-time dependencies that are executed during the emerge process, and
# only need to be present in the native build system (CBUILD). Example:
-BDEPEND="virtual/pkgconfig dev-lang/go"
+BDEPEND="
+ virtual/pkgconfig
+ >=dev-lang/go-1.26.1:=
+"
# The following src_configure function is implemented as default by portage, so
@@ -151,6 +157,9 @@ BDEPEND="virtual/pkgconfig dev-lang/go"
#emake
#}
+src_compile() {
+ ego build -trimpath -o bin/slk ./cmd/slk
+}
# The following src_install function is implemented as default by portage, so
# you only need to call it, if you need different behaviour.
@@ -179,3 +188,7 @@ BDEPEND="virtual/pkgconfig dev-lang/go"
# Again, verify the Makefiles! We don't want anything falling
# outside of ${D}.
#}
+src_install() {
+ dobin bin/slk
+ dodoc README.md
+}
diff --git a/profiles/eapi b/profiles/eapi
index 45a4fb7..45a4fb7 100644..100755
--- a/profiles/eapi
+++ b/profiles/eapi
diff --git a/profiles/repo_name b/profiles/repo_name
index 5eb5515..5eb5515 100644..100755
--- a/profiles/repo_name
+++ b/profiles/repo_name