# Maintainer:
pkgname=ghi
pkgver=1.2.0
pkgrel=1
pkgdesc="GitHub Issues on the command line"
url="https://github.com/stephencelis/ghi"
arch="noarch"
license="MIT"
depends="ruby ncurses"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/stephencelis/ghi/archive/$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	return 0
}

package() {
	cd "$builddir"

	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="345f3325007cef9087cb9c0215a2412c09aec542bec8003f2d67c3870fce36078a6ba2c8b73377cac419f82cbf8aed6ddab57ac96622aa2917734ae738014b89  ghi-1.2.0.tar.gz"
