games-misc/nyancat: add 1.5.2, EAPI-7

Now also installing the man page and systemd units.

Closes: https://bugs.gentoo.org/738090
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-06-01 08:01:13 -04:00
parent 2697d6ad56
commit abca26c97c
2 changed files with 26 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST nyancat-1.5.1.tar.gz 15124 BLAKE2B 31786fc61b8988bd89c398a711f4eec299995f80b86eed674b10dd7fe30219ea32fefc2b32d8b952ead9fa83b131f0a41dfcabc0b23e88bd424097f54f6c5dd3 SHA512 0a45bd0b1a9b9f85650a986c7f9f8120441f6b0bd346281fb44a5470382484738e660dffe17b95088332c50b6aed3feb4b2f949f15f37dd9c1b1885f345e157d
DIST nyancat-1.5.2.tar.gz 15126 BLAKE2B 4c197c7d630edc7184b57fd2b33fb422a69120e2db2994bc326e772278bca9fa1cc8a837da747bc7a9114090d43133ad48e22ed3319fc92485f82c1e7b5e67b9 SHA512 8eee5da8afacdbe8b6b5f66686c101d42da26ef6c172e6b43b6042e1bacf7dfb5668e006cbbe675aca523b567eea57404af5b5bb6d654d137951e06c9a75463a

View File

@@ -0,0 +1,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}
}