PKGBUILDs/community/rubygems/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
827 B
Bash

# Maintainer: Douglas Soares de Andrade <dsa@archlinux-br.org>
# Contributor: Rob Gabaree <rob@rawb.net>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Benjamin Andresen <klapmuetz@gmail.com>
pkgname=rubygems
pkgver=1.3.3
pkgrel=1
pkgdesc="A package management framework for the Ruby programming language"
arch=('i686' 'x86_64')
url="http://docs.rubygems.org"
license=("GPL")
depends=('ruby>=1.8.3')
source=(http://rubyforge.org/frs/download.php/56227/rubygems-1.3.3.tgz)
md5sums=('0e9697db44d812712350baf28016b4a7')
build() {
export GEM_HOME=${pkgdir}/usr/lib/ruby/gems/1.8
cd $srcdir/$pkgname-$pkgver
ruby setup.rb --prefix=$pkgdir/usr
mkdir -p $pkgdir/usr/lib/ruby/site_ruby/1.8
cd $pkgdir/usr/lib
mv rbconfig rubygems rubygems.rb ubygems.rb $pkgdir/usr/lib/ruby/site_ruby/1.8
}