From a07c74ea46df94dbae47656a337c5abb398f23dc Mon Sep 17 00:00:00 2001 From: dacyberduck Date: Sat, 2 May 2026 22:07:54 +0530 Subject: [PATCH] gui-apps/danksearch: new package, add 0.2.1 Signed-off-by: dacyberduck --- gui-apps/danksearch/Manifest | 1 + gui-apps/danksearch/danksearch-0.2.1.ebuild | 33 +++++++++++++++++++++ gui-apps/danksearch/metadata.xml | 12 ++++++++ 3 files changed, 46 insertions(+) create mode 100644 gui-apps/danksearch/Manifest create mode 100644 gui-apps/danksearch/danksearch-0.2.1.ebuild create mode 100644 gui-apps/danksearch/metadata.xml diff --git a/gui-apps/danksearch/Manifest b/gui-apps/danksearch/Manifest new file mode 100644 index 0000000000..805fd26ea1 --- /dev/null +++ b/gui-apps/danksearch/Manifest @@ -0,0 +1 @@ +DIST danksearch-0.2.1.tar.gz 33017110 BLAKE2B 671408cc0361b2dd2fdda1a2970f81152298f873567d5af435bdd713130840c7f8b838914c41ae02458ce0d6d66cfd53b4758f4f8c076fb7741ff7805c7bc60f SHA512 cf97b21db84af75bf23adc4d15318e85efced5dff0d2ebe1f58300b6e47b0a50386096fa3fda7142a846e1140036eea88ee350a05ad341b20f560344093103d2 diff --git a/gui-apps/danksearch/danksearch-0.2.1.ebuild b/gui-apps/danksearch/danksearch-0.2.1.ebuild new file mode 100644 index 0000000000..fe94b64a74 --- /dev/null +++ b/gui-apps/danksearch/danksearch-0.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Indexed filesystem search in GO" +HOMEPAGE="https://github.com/AvengeMedia/danksearch" +SRC_URI="https://github.com/AvengeMedia/${PN}/releases/download/v${PV}/dsearch-${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/dsearch-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=">=dev-lang/go-1.24" + +RESTRICT="strip" + +src_compile() { + sed -i '/^GOFLAGS=/d' "${S}/Makefile" + sed -i "s/^VERSION=.*$/VERSION=\"${PV}\"/" "${S}/Makefile" + sed -i 's/local\///' "${S}/assets/dsearch.service" + + default +} + +src_install() { + dobin "${S}/bin/dsearch" + systemd_douserunit "${S}/assets/dsearch.service" +} diff --git a/gui-apps/danksearch/metadata.xml b/gui-apps/danksearch/metadata.xml new file mode 100644 index 0000000000..010a500222 --- /dev/null +++ b/gui-apps/danksearch/metadata.xml @@ -0,0 +1,12 @@ + + + + + thecyberduck@tutanota.com + dacyberduck + + + AvengeMedia/danksearch + https://github.com/AvengeMedia/danksearch/issues + +