mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
gui-apps/danksearch: new package, add 0.2.1
Signed-off-by: dacyberduck <thecyberduck@tutanota.com>
This commit is contained in:
1
gui-apps/danksearch/Manifest
Normal file
1
gui-apps/danksearch/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST danksearch-0.2.1.tar.gz 33017110 BLAKE2B 671408cc0361b2dd2fdda1a2970f81152298f873567d5af435bdd713130840c7f8b838914c41ae02458ce0d6d66cfd53b4758f4f8c076fb7741ff7805c7bc60f SHA512 cf97b21db84af75bf23adc4d15318e85efced5dff0d2ebe1f58300b6e47b0a50386096fa3fda7142a846e1140036eea88ee350a05ad341b20f560344093103d2
|
||||||
33
gui-apps/danksearch/danksearch-0.2.1.ebuild
Normal file
33
gui-apps/danksearch/danksearch-0.2.1.ebuild
Normal 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"
|
||||||
|
}
|
||||||
12
gui-apps/danksearch/metadata.xml
Normal file
12
gui-apps/danksearch/metadata.xml
Normal 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>
|
||||||
Reference in New Issue
Block a user