# Maintainer: Eivind Uggedal pkgname=ghi pkgver=0.9.3 pkgrel=0 pkgdesc="GitHub Issues on the command line" url="https://github.com/stephencelis/ghi" arch="noarch" license="MIT" depends="ruby ncurses" makedepends="" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/stephencelis/ghi/archive/$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" sed -n '/().$/,$p' README.markdown > LICENSE } 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 } md5sums="e6670a27bcbd09f6600a4efd1d56b4c4 ghi-0.9.3.tar.gz" sha256sums="1b58c7ec6e9339c44175808719694d7ee21cbd254d3a2e6d31a70d31027e9bea ghi-0.9.3.tar.gz" sha512sums="660dfb0cb6db7df0c5c20821b9b968240dd96c0ea2143b15049aa1f2a9e40d071de16f971c1d5e61b5c666f76b078d639e0fca8bac8ff0135ea84d8963bcb8af ghi-0.9.3.tar.gz"