# Maintainer: Hyacinthe Cartiaux pkgname=ruby-git_remote_branch _pkgname=git_remote_branch pkgver=0.3.7 pkgrel=1 pkgdesc="git_remote_branch is a learning tool to ease the interaction with remote branches in simple situations." arch=(any) url="https://rubygems.org/gems/git_remote_branch" license=('MIT') depends=('ruby' 'ruby-rainbow' 'git') makedepends=(rubygems) source=(https://rubygems.org/downloads/$_pkgname-$pkgver.gem) noextract=($_pkgname-$pkgver.gem) md5sums=('912622b0b755c317acc8135b8c4e56cf') package() { local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" gem install --ignore-dependencies --no-user-install -i "$pkgdir$_gemdir" $_pkgname-$pkgver.gem }