updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / ruby-project / PKGBUILD
blobf43fe6ed63e01bce5288e235cf27bc448b26e6d0
1 # Maintainer: Your Name <chris@nu7hat.ch>
3 pkgname='ruby-project'
4 pkgver='1.3.0'
5 pkgrel=1
6 pkgdesc='A streamlined approach to working with multiple projects and tasks'
7 arch=('any')
8 url='http://rubygems.org/gems/project'
9 license=('MIT')
10 groups=('ruby')
11 depends=('ruby>=1.9', 'ruby-rspec>=1.2.9')
12 source=(https://rubygems.org/downloads/project-$pkgver.gem)
13 noextract=(project-$pkgver.gem)
14 md5sums=('e8884b5c46382ec826f5c8b923f3949d')
16 build() {
17     cd "$srcdir"
18     local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19     gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin/" project-$pkgver.gem