diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-21 03:42:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-21 03:42:55 +0100 |
commit | 855f2ab2714a36dd2d3b757890b2449d3e9155f2 (patch) | |
tree | 21996677d9df011c406a514a9487ee25e7a5fe48 /app-emacs/websocket/websocket-1.15.ebuild | |
parent | 90a3be9d71a22834f9bc82c072f1b993f9a10e31 (diff) |
gentoo auto-resync : 21:08:2023 - 03:42:55
Diffstat (limited to 'app-emacs/websocket/websocket-1.15.ebuild')
-rw-r--r-- | app-emacs/websocket/websocket-1.15.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-emacs/websocket/websocket-1.15.ebuild b/app-emacs/websocket/websocket-1.15.ebuild new file mode 100644 index 000000000000..9fb39e72393c --- /dev/null +++ b/app-emacs/websocket/websocket-1.15.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="A websocket implementation in elisp" +HOMEPAGE="https://github.com/ahyatt/emacs-websocket" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/ahyatt/emacs-websocket.git" + S="${WORKDIR}"/emacs-${P} +else + [[ ${PV} == 1.15 ]] && COMMIT=40c208eaab99999d7c1e4bea883648da24c03be3 + + SRC_URI="https://github.com/ahyatt/emacs-${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/emacs-${PN}-${COMMIT} + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( README.org ) +SITEFILE="50${PN}-gentoo.el" + +elisp-enable-tests ert "${S}" + +src_compile() { + elisp-compile ${PN}.el +} + +src_install() { + elisp-install ${PN} websocket.{el,elc} + elisp-make-site-file "${SITEFILE}" + + einstalldocs +} |