summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc79e7565d96f6b7154b84d23182914a44d376c7 (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.8
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=('a294e53edca821a6f4991d5caa3be4aa')

package() {
  local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
  gem install --ignore-dependencies --no-user-install -i "$pkgdir$_gemdir" $_pkgname-$pkgver.gem
}