updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / ruby-gscraper / PKGBUILD
blob130ae9ce57ed68f649de8a6f2131356f100eb4b5
1 # Contributor: 
2 # Maintainer: 
3 pkgname=ruby-gscraper
4 _gemname=gscraper
5 pkgver=0.3.0
6 pkgrel=1
7 pkgdesc="GScraper is a web-scraping interface to various Google Services."
8 arch=(any)
9 url="http://github.com/postmodern/gscraper"
10 license=('GPL2')
11 depends=('ruby')
12 makedepends=('rubygems')
13 source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
16 build() {
17   cd "${srcdir}"
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem
23 md5sums=('942738a3368cbf0dc099a328c403c885')