Permalink
Browse files

Add ruby-augeas package

  • Loading branch information...
GregSutcliffe committed Nov 8, 2012
1 parent 853e398 commit 8cfe77225277971001caad44db8e4ac930cf8fed
Showing with 19 additions and 0 deletions.
  1. +19 −0 ruby-augeas/PKGBUILD
View
@@ -0,0 +1,19 @@
+# Maintainer: Greg Sutcliffe <greg.sutcliffe at gmail dot com>
+pkgname=ruby-augeas
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="Provides Ruby bindings for augeas"
+arch=('any')
+url="http://augeas.net"
+license=('LGPL')
+depends=('ruby' 'rubygems')
+source=(http://rubygems.org/downloads/${pkgname}-${pkgver}.gem)
+noextract=(${pkgname}-${pkgver}.gem)
+md5sums=('1d61673aa968f4f816d1dbdb0b52782d')
+
+build() {
+ cd "${srcdir}"
+ export HOME=/tmp
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${pkgname}-${pkgver}.gem
+}

0 comments on commit 8cfe772

Please sign in to comment.