1 # Maintainer: Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
4 _pkgname="${pkgname#ruby-}"
7 pkgdesc="A web publishing system written in Ruby for building small to medium-sized websites."
8 url="http://nanoc.stoneship.org"
11 depends=("ruby" "ruby-nanoc3")
12 source=("http://gems.rubyforge.org/gems/${_pkgname}-${pkgver}.gem")
13 noextract=("${_pkgname}-${pkgver}.gem")
14 md5sums=("1f4274b7cfef705936ab675e29f552e5")
18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" "${_pkgname}-${pkgver}.gem" \
20 -n "${pkgdir}/usr/bin"