From 5b7a5a65a83bad0f88ae3b7384af3a5f79e4fc21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Thu, 13 Oct 2011 16:10:32 -0300 Subject: ~fauno/ruby-mustache-0.99.4-1 --- ~fauno/ruby-mustache/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ~fauno/ruby-mustache/PKGBUILD (limited to '~fauno/ruby-mustache/PKGBUILD') diff --git a/~fauno/ruby-mustache/PKGBUILD b/~fauno/ruby-mustache/PKGBUILD new file mode 100644 index 000000000..7b396434c --- /dev/null +++ b/~fauno/ruby-mustache/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: David Campbell +pkgname=ruby-mustache +pkgver=0.99.4 +pkgrel=1 +pkgdesc="A framework-agnostic way to render logic-free views." +arch=('any') +url="http://github.com/defunkt/mustache" +license=(MIT) +depends=('ruby') +makedepends=('rubygems') +source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem") +noextract=("mustache-${pkgver}.gem") + +build() { + cd $srcdir + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --ignore-dependencies -i "$pkgdir$_gemdir" mustache-$pkgver.gem \ + -n "$pkgdir/usr/bin" + + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/LICENSE \ + $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.1 \ + $pkgdir/usr/share/man/man1/mustache.1 + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.5 \ + $pkgdir/usr/share/man/man5/mustache.5 +} + +# vim:set ts=2 sw=2 et: +md5sums=('650194ec2c166feb087377647414b9dc') -- cgit v1.2.3-2-g168b