summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-06-14 18:50:09 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-06-14 18:51:17 +0200
commitd92df6a8e97cceff21bbb537a3f20a8020c5fdb3 (patch)
treee124fd3a66485ff99a601fdabfa9c47563ab8c89 /app-emacs
parentx11-drivers/nvidia-drivers: minor ebuild nitpicks (diff)
downloadgentoo-d92df6a8e97cceff21bbb537a3f20a8020c5fdb3.tar.gz
gentoo-d92df6a8e97cceff21bbb537a3f20a8020c5fdb3.tar.bz2
gentoo-d92df6a8e97cceff21bbb537a3f20a8020c5fdb3.zip
app-emacs/web-server: install correct directory - web-server_html
Closes: https://bugs.gentoo.org/882509 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/web-server/web-server-0.1.2_p20210708-r1.ebuild (renamed from app-emacs/web-server/web-server-0.1.2_p20210708.ebuild)15
1 files changed, 11 insertions, 4 deletions
diff --git a/app-emacs/web-server/web-server-0.1.2_p20210708.ebuild b/app-emacs/web-server/web-server-0.1.2_p20210708-r1.ebuild
index eeb187b47da0..a31c44724e7e 100644
--- a/app-emacs/web-server/web-server-0.1.2_p20210708.ebuild
+++ b/app-emacs/web-server/web-server-0.1.2_p20210708-r1.ebuild
@@ -9,12 +9,19 @@ inherit elisp
DESCRIPTION="Web server running Emacs Lisp handlers"
HOMEPAGE="https://github.com/eschulte/emacs-web-server/"
-SRC_URI="https://github.com/eschulte/emacs-${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/emacs-${PN}-${COMMIT}
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/eschulte/emacs-${PN}.git"
+else
+ SRC_URI="https://github.com/eschulte/emacs-${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/emacs-${PN}-${COMMIT}
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
BDEPEND="sys-apps/texinfo"
@@ -35,7 +42,7 @@ src_install() {
elisp_src_install
doinfo doc/${PN}.info
- dodoc -r doc/${PN}
+ dodoc doc/${PN}_html/*
insinto ${SITEETC}/${PN}
doins -r examples