aboutsummaryrefslogtreecommitdiffstats
path: root/main/rubygems/APKBUILD
blob: 054588dc6a772ce95a2972e7f5a9ff435e071724 (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=5
pkgdesc="Ruby package manager"
url="http://docs.rubygems.org"
arch="noarch"
license="GPL"
depends="ruby"
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"