Skip to content
This repository
tree: cd8cb56d53
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (26 sloc) 0.897 kb
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 26 27 28 29 30
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux(at)free.fr>
# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
# Contributor: Jochen Schalanda <jochen+aur@schalanda.name>

pkgname=ruby-json
pkgver=1.7.7
pkgrel=1
pkgdesc="JSON implementation as a Ruby extension in C"
arch=('x86_64' 'i686')
url="http://flori.github.com/json/"
license=('GPL')
depends=('ruby')
makedepends=('rubygems')
optdepends=('jruby' 'java-environment')
source=("http://rubygems.org/downloads/json-$pkgver.gem")
noextract=("json-$pkgver.gem")
md5sums=('9084ee2e853f55d956d043cba46e25fc')

build() {
  gem install -i "$pkgdir$(ruby -rubygems -e'puts Gem.default_dir')" \
    "json-$pkgver.gem" --no-user-install
}

package() {
  # Removing files with references to $pkgdir
  find "$pkgdir" -depth -type f -name "Makefile*" -exec rm {} \;
}

# vim:set ts=2 sw=2 et:
Something went wrong with that request. Please try again.