summaryrefslogtreecommitdiff
path: root/games-misc/nyancat/nyancat-1.5.2.ebuild
blob: 19dce0d65b5ac6b2b312f53688407163eef168ec (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit systemd toolchain-funcs

DESCRIPTION="Nyancat in your terminal, rendered through ANSI escape sequences"
HOMEPAGE="https://nyancat.dakko.us/"
SRC_URI="https://github.com/klange/nyancat/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install() {
	dobin src/${PN}
	doman ${PN}.1
	einstalldocs
	systemd_dounit systemd/${PN}{.socket,@.service}
}