summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f237e4f7861de1ff123f4157534d321b79e6320b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux AT free DOT fr>

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
}