updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / ruby-git_remote_branch / PKGBUILD
blob6448416cc8e86184089e5e8ec7d2147e218272e9
1 # Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux AT free DOT fr>
3 pkgname=ruby-git_remote_branch
4 _pkgname=git_remote_branch
5 pkgver=0.3.3
6 pkgrel=1
7 pkgdesc="git_remote_branch is a learning tool to ease the interaction with remote branches in simple situations."
8 arch=(any)
9 url="https://rubygems.org/gems/git_remote_branch"
10 license=('MIT')
11 depends=('ruby' 'ruby-colored' 'git')
12 makedepends=(rubygems)
13 source=(http://rubygems.org/downloads/$_pkgname-$pkgver.gem)
14 noextract=($_pkgname-$pkgver.gem)
15 md5sums=('3c00243bd70bb1eeee190ee5195a18ee')
17 build() {
18   cd $srcdir
21 package() {
22   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
23   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_pkgname-$pkgver.gem