summaryrefslogtreecommitdiff
blob: 4022d504d1af5c65a5c6b4fa69fca51459df8e23 (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="f952b87a1fc235917a28fbabbe8626719d622e4c"

DESCRIPTION="A ZNC module which provides push notifications for Igloo client"
HOMEPAGE="https://git.jordanko.ch/Igloo/Push"
SRC_URI="https://git.jordanko.ch/Igloo/Push/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"

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

DEPEND="
	net-irc/znc:=[ssl]"

RDEPEND="${DEPEND}"

DOCS=( README.md )

S="${WORKDIR}/push"

src_prepare() {
	default

	# No parallel build support
	MAKEOPTS=-j1
}

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

	einstalldocs
}