summaryrefslogtreecommitdiff
path: root/pcr/ruby-haml/PKGBUILD
blob: 37290484a34972c56532a383ada4e18aecaef7c6 (plain)
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
31
32
33
34
35
# Contributor: Renzo Carbonara <gnuk0001@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=ruby-haml
pkgver=3.1.6
pkgrel=1
pkgdesc="An elegant, structured XHTML/XML templating engine. Comes with Sass, a similar CSS templating engine."
arch=('any')
url="http://haml-lang.com/"
license=('MIT')
groups=()
depends=('ruby' 'ruby-yard>=0.5.3' 'maruku>=0.5.9')
makedepends=('rubygems')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("http://gems.rubyforge.org/gems/haml-${pkgver}.gem")
noextract=("haml-${pkgver}.gem")

build() {
  cd $srcdir
  local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
  gem install --ignore-dependencies -i "$pkgdir$_gemdir" haml-$pkgver.gem \
              -n "$pkgdir/usr/bin"
}

md5sums=('c73b2755a56cf5461f6a5e430052f436')

# vim:set ts=2 sw=2 et:
md5sums=('c73b2755a56cf5461f6a5e430052f436')
md5sums=('c73b2755a56cf5461f6a5e430052f436')