summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-01-01 21:37:25 +0300
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2024-01-17 22:45:13 +0000
commit6cb56f6bcfd90772a61ee930ae615efc2821d3d8 (patch)
tree3fb3eed44be4a114cdaa838da8ea62643cefcb4c
parent860e30aaf6c5943d16a9ad6fcb0308245da1e7f8 (diff)
downloadtde-packaging-gentoo-6cb56f6bcfd90772a61ee930ae615efc2821d3d8.tar.gz
tde-packaging-gentoo-6cb56f6bcfd90772a61ee930ae615efc2821d3d8.zip
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>
-rw-r--r--www-misc/hldig/Manifest2
-rw-r--r--www-misc/hldig/hldig-1.0.2.ebuild10
-rw-r--r--www-misc/hldig/metadata.xml3
3 files changed, 8 insertions, 7 deletions
diff --git a/www-misc/hldig/Manifest b/www-misc/hldig/Manifest
index 7d315aa0..1604821c 100644
--- a/www-misc/hldig/Manifest
+++ b/www-misc/hldig/Manifest
@@ -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
diff --git a/www-misc/hldig/hldig-1.0.2.ebuild b/www-misc/hldig/hldig-1.0.2.ebuild
index 51cdf926..a9da2cf9 100644
--- a/www-misc/hldig/hldig-1.0.2.ebuild
+++ b/www-misc/hldig/hldig-1.0.2.ebuild
@@ -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
diff --git a/www-misc/hldig/metadata.xml b/www-misc/hldig/metadata.xml
index 689e1534..3569bab2 100644
--- a/www-misc/hldig/metadata.xml
+++ b/www-misc/hldig/metadata.xml
@@ -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>