blob: 9f0b478cde68629c13ffb700c0ec2dfcd21222a3 (
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
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
DESCRIPTION="A tee command that posts to Slack instead of writing to file"
HOMEPAGE="https://github.com/course-hero/slacktee"
SRC_URI="https://github.com/course-hero/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
net-misc/curl
"
src_install() {
dobin slacktee.sh
insinto /etc
doins slacktee.conf
dodoc README.md
}
pkg_postinst() {
elog "An empty global configuration file has been installed as: /etc/slacktee.conf"
elog ""
elog "To make a local ${PN} configuration (creates: ~/.slacktee)"
elog "in interactive mode, now run:"
elog "${PN} --setup"
}
|