Permalink
Browse files

init with version 0.14.0

  • Loading branch information...
Gonzih committed Apr 16, 2012
0 parents commit 4ca2779b77ce0a2bdef7153cee8868e11d9c3988
Showing with 27 additions and 0 deletions.
  1. +27 −0 PKGBUILD
@@ -0,0 +1,27 @@
+ # Contributor: Max Gonzih <iam AT gonzih DOT org>
+ pkgname=shelr
+ pkgver=0.14.0
+ pkgrel=1
+ pkgdesc="Shelr.tv client"
+ arch=(any)
+ url="http://shelr.tv"
+ license=(GPLv3)
+ depends=(ruby ruby-json)
+ makedepends=(rubygems)
+ source=(http://rubygems.org/downloads/shelr-$pkgver.gem)
+ noextract=(shelr-$pkgver.gem)
+ md5sums=(7e7eb402974591c21028eff96bb4ed08)
+
+ build() {
+ cd $srcdir
+
+ if which rvm &> /dev/null; then
+ local _gemdir="$(rvm system do ruby -rubygems -e'puts Gem.default_dir')"
+ rvm system do gem install --no-user-install --ignore-dependencies --verbose -i "$pkgdir$_gemdir" -n "$pkgdir"/usr/bin shelr-$pkgver.gem
+ else
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install --no-user-install --ignore-dependencies --verbose -i "$pkgdir$_gemdir" -n "$pkgdir"/usr/bin shelr-$pkgver.gem
+ fi
+ }
+
+ # vim:set ts=2 sw=2 et:

0 comments on commit 4ca2779

Please sign in to comment.