# Contributor: Eivind Uggedal <eu@eju.no>
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer:

pkgname=ghi
pkgver=1.2.1
pkgrel=2
pkgdesc="GitHub Issues on the command line"
url="https://github.com/drazisil/ghi"
arch="noarch"
license="MIT"
depends="ruby ncurses less"
options="!check"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/drazisil/ghi/archive/$pkgver.tar.gz"

package() {
	install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
	install -D -m644 man/$pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
	install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="
891a1efd81895938eed2652f12c470bef7ac9f6e1a6bb1c6b1b57e2e00a00747847928ebc9673ab53eb571b192ddba72dbdf08336f46b440bf0c0282f4c5d86f  ghi-1.2.1.tar.gz
"
