summaryrefslogtreecommitdiffstats
path: root/main/rubygems/APKBUILD
blob: 8ba7c48834cb308e8980e342045ce18b13c4f933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=rubygems
pkgver=1.3.1
pkgrel=0
pkgdesc="Ruby package manager"
url="http://docs.rubygems.org"
license="GPL"
depends="ruby"
makedepends="ruby-dev"
source="http://rubyforge.org/frs/download.php/45905/${pkgname}-${pkgver}.tgz
rubygems-1.3.1-setup.patch"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p0 -i "$srcdir"/rubygems-1.3.1-setup.patch
	ruby setup.rb --prefix=/usr --destdir "$pkgdir"
}

md5sums="a04ee6f6897077c5b75f5fd1e134c5a9  rubygems-1.3.1.tgz
40ef7562319ac6f82bbbe7315c78bdbb  rubygems-1.3.1-setup.patch"