diff options
Diffstat (limited to 'main/rubygems/APKBUILD')
-rw-r--r-- | main/rubygems/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/main/rubygems/APKBUILD b/main/rubygems/APKBUILD index ba7e33a89d..7cda14f16d 100644 --- a/main/rubygems/APKBUILD +++ b/main/rubygems/APKBUILD @@ -2,22 +2,23 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=rubygems pkgver=1.3.5 -pkgrel=0 +pkgrel=1 pkgdesc="Ruby package manager" url="http://docs.rubygems.org" license="GPL" -depends="ruby" +depends="ruby-dev build-base" makedepends="ruby-dev" source="http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.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 \ - --vendor \ - --destdir "$pkgdir" + + 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 -40ef7562319ac6f82bbbe7315c78bdbb rubygems-1.3.1-setup.patch" +md5sums="6e317335898e73beab15623cdd5f8cff rubygems-1.3.5.tgz" |