summaryrefslogtreecommitdiffstats
path: root/main/rubygems/APKBUILD
blob: 7cda14f16ddd75f3ec68d5237d9b5f70554907b8 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=rubygems
pkgver=1.3.5
pkgrel=1
pkgdesc="Ruby package manager"
url="http://docs.rubygems.org"
license="GPL"
depends="ruby-dev build-base"
makedepends="ruby-dev"
source="http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	ruby setup.rb --prefix="$pkgdir"/usr
	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"