summaryrefslogtreecommitdiff
path: root/app-emacs/elfeed/elfeed-3.4.1_p20210822.ebuild
blob: f9c4f7bcbff973695f11d2c8d548cc032459be5f (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
28
29
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

NEED_EMACS=24.3

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"