summaryrefslogtreecommitdiff
blob: 5e8fda1097df04f299610cff906a5cc2a088a7ef (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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_COMMIT="8dd128bfe2b24b2cc6a9ea2e2d28bfaa28d2a833"

DESCRIPTION="A ZNC module to control buffer playback"
HOMEPAGE="https://github.com/jpnurmi/znc-playback"
SRC_URI="https://github.com/jpnurmi/znc-playback/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	net-irc/znc:="

RDEPEND="${DEPEND}"

DOCS=( README.md )

S="${WORKDIR}/${PN}-${MY_COMMIT}"

src_prepare() {
	default

	# No parallel build support
	MAKEOPTS=-j1
}

src_install() {
	insinto /usr/$(get_libdir)/znc
	doins playback.so

	einstalldocs
}