www-misc/hldig: some QA fixes

- use sensible tarball name
- don't pass EPREFIX to keepdir as it is aware about it
- remove useless S assignment
- add remote-id to metadata.xml

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
pull/339/head
Alexander Golubev 10 months ago committed by TDE Gitea
parent 860e30aaf6
commit 6cb56f6bcf

@ -1 +1 @@
DIST v1.0.2.tar.gz 3913213 BLAKE2B def6fe7b05391f3956f1930326e0543801014ae70dadf2668ab8dc53ebb77423d292d485862afa54655cc29e0ea7dcb719b2a25681bced796f01d700fc5f63fc SHA512 e89b35a494cef356d30c8775aa0a58ca86d2e9d87b229a9c6eba3141fcbf3081d5a17ae7c367096e9e40e35db29c7a6eb52c04f90c2ffc2042a60663c1916d0a
DIST hldig-1.0.2.tar.gz 3913213 BLAKE2B def6fe7b05391f3956f1930326e0543801014ae70dadf2668ab8dc53ebb77423d292d485862afa54655cc29e0ea7dcb719b2a25681bced796f01d700fc5f63fc SHA512 e89b35a494cef356d30c8775aa0a58ca86d2e9d87b229a9c6eba3141fcbf3081d5a17ae7c367096e9e40e35db29c7a6eb52c04f90c2ffc2042a60663c1916d0a

@ -1,5 +1,5 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 2020 The Trinity Desktop Project
# Copyright 1999-2024 Gentoo Authors
# Copyright 2020-2024 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@ -8,7 +8,7 @@ inherit autotools flag-o-matic
DESCRIPTION="HTTP/HTML indexing and searching system"
HOMEPAGE="https://github.com/solbu/hldig"
SRC_URI="https://github.com/solbu/${PN}/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/solbu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@ -27,8 +27,6 @@ RDEPEND="${DEPEND}
!www-misc/htdig
"
S="${WORKDIR}/${PN}-${PV}"
HTML_DOCS=( docs/. )
src_prepare() {
@ -59,7 +57,7 @@ src_install () {
"${ED}"/usr/bin/rundig \
|| die "sed failed (removing \${D} from installed files)"
keepdir "${EPREFIX}"/var/lib/${PN}/db
keepdir "/var/lib/${PN}/db"
# Symlink hlsearch so it can be easily found.
dosym ../../var/www/localhost/cgi-bin/hlsearch /usr/bin/hlsearch

@ -5,4 +5,7 @@
<email>team-gentoo@trinitydesktop.org</email>
<name>Trinity Gentoo ebuilds project</name>
</maintainer>
<upstream>
<remote-id type="github">solbu/hldig</remote-id>
</upstream>
</pkgmetadata>

Loading…
Cancel
Save