# $Id: PKGBUILD 137673 2015-08-01 19:40:52Z arojas $
# Maintainer:
# Contributor: Federico Cinelli <cinelli@aur.archlinux.org>

pkgname=screenfetch
pkgver=3.7.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/$pkgver.tar.gz")
md5sums=('f58cdda5c7d55f703893b9a80cef12cf')

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