mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
25 lines
827 B
Bash
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
|
|
}
|