Date: Monday, March 11, 2013 @ 18:49:07
  Author: plewis
Revision: 86045

archrelease: copy trunk to community-staging-any

Added:
  ruby-highline/repos/community-staging-any/
  ruby-highline/repos/community-staging-any/PKGBUILD
    (from rev 86044, ruby-highline/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: ruby-highline/repos/community-staging-any/PKGBUILD (from rev 86044, 
ruby-highline/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2013-03-11 17:49:07 UTC (rev 86045)
@@ -0,0 +1,23 @@
+# Maintainer: Peter Richard Lewis <[email protected]>
+# Contributor: Emiliano Vavassori <[email protected]>
+
+pkgname=ruby-highline
+_gemname=highline
+pkgver=1.6.11
+pkgrel=2
+pkgdesc="A high-level text user interface toolkit for Ruby"
+arch=('any')
+url="http://highline.rubyforge.org/";
+license=('GPL2' 'RUBY')
+depends=('ruby')
+makedepends=('rubygems')
+source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
+noextract=(${_gemname}-${pkgver}.gem)
+sha256sums=('6ee965dc6793221c216eb18fad73b647d08c6963fbcf716cf10d4569bc822c60')
+
+package() {
+  cd "${srcdir}"
+  local _gemdir="$(env ruby -rubygems -e 'puts Gem.default_dir')"
+
+  gem install --no-user-install -f -i "${pkgdir}${_gemdir}" 
--ignore-dependencies ${_gemname}-${pkgver}.gem
+}

Reply via email to