updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ruby-nanoc / PKGBUILD
blobb121243f763b9080b374fae98ba068f5d1dc1186
1 # Maintainer:   Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
3 pkgname=ruby-nanoc
4 _pkgname="${pkgname#ruby-}"
5 pkgver=3.2.0
6 pkgrel=1
7 pkgdesc="A web publishing system written in Ruby for building small to medium-sized websites."
8 url="http://nanoc.stoneship.org"
9 arch=("any")
10 license=("MIT")
11 depends=("ruby" "ruby-nanoc3")
12 source=("http://gems.rubyforge.org/gems/${_pkgname}-${pkgver}.gem")
13 noextract=("${_pkgname}-${pkgver}.gem")
14 md5sums=("1f4274b7cfef705936ab675e29f552e5")
16 package() {
17   cd "${srcdir}"
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"