# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=screenfetch
_pkgname=screenFetch
pkgver=3.8.0
pkgrel=0
pkgdesc="Fetches system/theme information in terminal for Linux desktop screenshots"
url="https://github.com/KittyKatt/screenFetch"
arch="noarch"
license="GPL-3.0"
depends="bash bc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/KittyKatt/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check"  # no tests provided by upstream

package() {
	cd "$builddir"

	install -m 755 -D screenfetch-dev "$pkgdir"/usr/bin/$pkgname
	install -m 644 -D $pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
}

sha512sums="903f42e3bfcd719c4d6b91d10e5678063e223c2baa58214c7e8dae9ea925852f9e2c07ad90148e02d87ce5f9af7b989e80e93c2f569cd579e6f4f7d5c49c62f2  screenfetch-3.8.0.tar.gz"
