updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ruby-indentation / PKGBUILD
blobe6039328b6532675f7b5901a00191a189a5061cf
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=ruby-indentation
3 _pkgname=indentation
4 pkgver=0.0.6
5 pkgrel=1
6 pkgdesc="A library of extensions to Ruby's Array and String classes that allow indentation manipulation of Strings and Arrays of Strings"
7 arch=('any')
8 url="http://rubygems.org/gems/indentation"
9 license=('MIT')
10 depends=('ruby')
11 source=(http://rubygems.org/gems/$_pkgname-$pkgver.gem
12         LICENSE)
13 noextract=($_pkgname-$pkgver.gem)
14 md5sums=('4c0dfd68c519eae810469e27595cf4c7'
15          '3a91a7243f2d958981634576945d379d')
17 build() {
18   cd $srcdir
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_pkgname-$pkgver.gem
22   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"