gui-apps/danksearch: new package, add 0.2.1

Signed-off-by: dacyberduck <thecyberduck@tutanota.com>
This commit is contained in:
dacyberduck
2026-05-02 22:07:54 +05:30
parent cd9802fcfb
commit a07c74ea46
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST danksearch-0.2.1.tar.gz 33017110 BLAKE2B 671408cc0361b2dd2fdda1a2970f81152298f873567d5af435bdd713130840c7f8b838914c41ae02458ce0d6d66cfd53b4758f4f8c076fb7741ff7805c7bc60f SHA512 cf97b21db84af75bf23adc4d15318e85efced5dff0d2ebe1f58300b6e47b0a50386096fa3fda7142a846e1140036eea88ee350a05ad341b20f560344093103d2

View File

@@ -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"
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>thecyberduck@tutanota.com</email>
<name>dacyberduck</name>
</maintainer>
<upstream>
<remote-id type="github">AvengeMedia/danksearch</remote-id>
<bugs-to>https://github.com/AvengeMedia/danksearch/issues</bugs-to>
</upstream>
</pkgmetadata>