summaryrefslogtreecommitdiffstats
path: root/main/rubygems/APKBUILD
blob: 5a01ba38f05c1ac2f2b7e07c2b2e8a03354d10a9 (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
# 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"
arch="x86 x86_64"
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"