blob: c3233aaf3d0e8e7a16df81831389c10ed7f4c2ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=rubygems
pkgver=1.3.5
pkgrel=3
pkgdesc="Ruby package manager"
url="http://docs.rubygems.org"
arch="all"
license="GPL"
depends=""
makedepends="ruby"
source="http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
"
build() {
cd "$srcdir/$pkgname-$pkgver"
ruby setup.rb --prefix="$pkgdir"/usr \
--verbose --no-rdoc --no-ri
mkdir -p "$pkgdir"/usr/lib/ruby/1.8
cd "$pkgdir"/usr/lib
mv rbconfig rubygems rubygems.rb ubygems.rb \
"$pkgdir"/usr/lib/ruby/1.8
}
md5sums="6e317335898e73beab15623cdd5f8cff rubygems-1.3.5.tgz"
|