updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / ruby-redcarpet / PKGBUILD
blob5a83ec6980c962b46e3bbb95c3fb555f0ca217d3
1 # Maintainer: Ivan c00kiemon5ter Kanakarakis <ivan.kanak@gmail.com>
2 pkgname=ruby-redcarpet
3 pkgver=1.17.2
4 pkgrel=1
5 pkgdesc="Ruby bindings for libupskirt"
6 arch=('any')
7 url="http://github.com/tanoku/redcarpet"
8 license=()
9 groups=()
10 depends=()
11 makedepends=('ruby')
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=
19 source=("http://gems.rubyforge.org/gems/redcarpet-${pkgver}.gem")
20 noextract=("redcarpet-${pkgver}.gem")
21 sha256sums=('d876b110108dc5b31f49ba309be5e9e26ffbdfcea4cf2f283ed264c4d3518ee7')
23 package() {
24   cd "${srcdir}"
25   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
26   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" redcarpet-$pkgver.gem \
27     -n "${pkgdir}/usr/bin"
30 # vim:set ts=2 sw=2 et: