summaryrefslogtreecommitdiff
blob: 4d41447fde72eb72eaf223e84e1a2ac69de83cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit elisp

DESCRIPTION="Emacs web feeds client"
HOMEPAGE="https://github.com/skeeto/elfeed/"

if [[ ${PV} == *_p* ]] ; then
	COMMIT=162d7d545ed41c27967d108c04aa31f5a61c8e16
	SRC_URI="https://github.com/skeeto/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}"/${PN}-${COMMIT}
else
	SRC_URI="https://github.com/skeeto/${PN}/releases/download/${PV}/${P}.tar"
fi

LICENSE="Unlicense"
SLOT="0"
KEYWORDS="amd64 ~x86"

RDEPEND="net-misc/curl[ssl]"

DOCS=( NEWS.md README.md )
ELISP_REMOVE="${PN}-pkg.el"
SITEFILE="50${PN}-gentoo.el"