# Maintainer: Eivind Uggedal pkgname=hub pkgver=1.12.1 pkgrel=0 pkgdesc="Extends git with extra features for GitHub" url="http://hub.github.com/" arch="noarch" license="MIT" depends="git ruby" makedepends="ruby-rake" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" rake standalone } 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="3ec55873b23358f056f0f85b855824ae hub-1.12.1.tar.gz" sha256sums="dd763fbd94edf824f8af0e115212d0b2a6ab6565ed79b1ea742fa24d94dfad62 hub-1.12.1.tar.gz" sha512sums="067812f7406653912246eb58bee5fc0cb599d42b970915bd2ed693921437656b947f462b918112ffbcccb364401c354388437d003901ef07daf9a65b56b460ff hub-1.12.1.tar.gz"