summaryrefslogtreecommitdiff
blob: 247698fd431c9ab7c1a0b22090005af4b3f62bef (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
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit vcs-snapshot

COMMIT="7e959b9f24632d0fa9f587da6e1cde951397ae97"

DESCRIPTION="A collection of plugins for the Limnoria IRC bot"
HOMEPAGE="https://github.com/jlu5/SupyPlugins"
SRC_URI="https://github.com/jlu5/SupyPlugins/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD GPL-2+"
KEYWORDS="~amd64 ~riscv ~x86"
SLOT=0

RDEPEND="
	net-irc/limnoria
	dev-python/beautifulsoup4
"

DOCS=(
	"README.md"
	"requirements.txt"
)

src_install() {
	default
	insinto /usr/share/limnoria-extra-plugins/jlu5
	doins -r *
}

pkg_postinst() {
	elog "Before these plugins can be used, your bot will need to be told where to"
	elog "load them from. To do this, add /usr/share/limnoria-extra-plugins/jlu5 when"
	elog "prompted during the bot creation wizard, or add it to a running bots config"
	elog "with the command"
	elog
	elog "    config directories.plugins [config directories.plugins], /usr/share/limnoria-extra-plugins/jlu5"
}