updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ruby-bindata / PKGBUILD
blob045b4dd533483576a9a5f18ac8a7fcc171b4aea4
1 # Generated by gem2arch
2 # Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
4 _gemname=bindata
5 pkgname=ruby-$_gemname
6 pkgver=1.4.3
7 pkgrel=1
8 pkgdesc="A declarative way to read and write binary file formats"
9 arch=('i686' 'x86_64')
10 url="http://bindata.rubyforge.org"
11 license=('GPL2')
12 depends=('ruby')
13 makedepends=('rubygems')
14 source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem)
15 noextract=($_gemname-$pkgver.gem)
16 sha256sums=('1004d10a8a194bc181cc836220939379ae18e797e8756e01415ac8ae80c8f5a5')
18 package() {
19   cd $srcdir
20   local _gemdir="$(ruby -e'puts Gem.default_dir')"
21   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_gemname-$pkgver.gem