aboutsummaryrefslogtreecommitdiffstats
path: root/main/rubygems/APKBUILD
blob: d79ebcc459e6e2f535798a924f2e9a9d31e8ff3c (plain) (blame)
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=2
pkgdesc="Ruby package manager"
url="http://docs.rubygems.org"
arch="all"
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"