# Contributor: alpterry <alpterry@protonmail.com>
# Maintainer: alpterry <alpterry@protonmail.com>
pkgname=nyancat
pkgver=1.5.2
pkgrel=1
pkgdesc="Nyancat in your terminal, rendered through ANSI escape sequences"
url="https://nyancat.dakko.us/"
arch="all"
license="NCSA"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/klange/nyancat/archive/$pkgver.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	install -Dm755 src/nyancat "$pkgdir"/usr/bin/nyancat
	install -Dm644 nyancat.1 "$pkgdir"/usr/share/man/man1/nyancat.1
}

sha512sums="8eee5da8afacdbe8b6b5f66686c101d42da26ef6c172e6b43b6042e1bacf7dfb5668e006cbbe675aca523b567eea57404af5b5bb6d654d137951e06c9a75463a  nyancat-1.5.2.tar.gz"
