[arch-commits] Commit in ruby-highline/repos (staging-any staging-any/PKGBUILD)
Peter Lewis
plewis at nymeria.archlinux.org
Sun Mar 3 09:40:06 UTC 2013
Date: Sunday, March 3, 2013 @ 10:40:05
Author: plewis
Revision: 85569
archrelease: copy trunk to staging-any
Added:
ruby-highline/repos/staging-any/
ruby-highline/repos/staging-any/PKGBUILD
(from rev 85568, ruby-highline/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: ruby-highline/repos/staging-any/PKGBUILD (from rev 85568, ruby-highline/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2013-03-03 09:40:05 UTC (rev 85569)
@@ -0,0 +1,23 @@
+# Maintainer: Peter Richard Lewis <plewis at aur.archlinux.org>
+# Contributor: Emiliano Vavassori <syntaxerrormmm at gmail.com>
+
+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
+}
More information about the arch-commits
mailing list