# $Id: PKGBUILD 117252 2014-08-12 09:08:43Z bgyorgy $
# Contributor: Federico Cinelli <cinelli@aur.archlinux.org>

pkgname=screenfetch
_pkgname=screenFetch
pkgver=3.6.0
pkgrel=1
pkgdesc="CLI Bash script to show system/theme info in screenshots"
arch=('any')
url="https://github.com/KittyKatt/screenFetch"
license=('GPL')
depends=('bash' 'xorg-xdpyinfo' 'xorg-xprop')
optdepends=('scrot: To take screenshot')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/KittyKatt/screenFetch/archive/v$pkgver.tar.gz")
md5sums=('e834796edc649d89eb8746af45f48f76')

package() {
	cd "$srcdir/$_pkgname-$pkgver"
	install -Dm755 "screenfetch-dev" "$pkgdir/usr/bin/screenfetch"
	install -Dm644 "screenfetch.1" "$pkgdir/usr/share/man/man1/screenfetch.1"
}
