gentoo-ebuilds/app-emacs/twittering-mode/twittering-mode-3.0.0-r1.ebuild
Lucio Sauer 794061a329
*/*: inline mirror://sourceforge
bump copyright of touched ebuilds to 2024

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-04-30 20:21:05 +02:00

34 lines
749 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git"
inherit git-r3
IUSE="doc"
else
SRC_URI="https://downloads.sourceforge.net/twmode/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"
fi
DESCRIPTION="Emacs major mode for Twitter"
HOMEPAGE="http://twmode.sourceforge.net/"
LICENSE="GPL-2+"
SLOT="0"
RDEPEND="app-crypt/gnupg"
src_compile() {
elisp-compile twittering-mode.el
[[ ${PV} == *9999 ]] && use doc && emake -C doc/manual
}
src_install() {
elisp-install ${PN} twittering-mode.el *.elc
[[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html
}