Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4ca2779b77
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (24 sloc) 0.868 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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:
Something went wrong with that request. Please try again.