1 # Contributor: Arian Kuschki <arian.spam-trap-remove-mekuschki at gmail dot com>
5 pkgdesc="Lightning is a commandline framework that generates shell functions which wrap around commands to autocomplete and translate full paths by their basenames."
7 url="http://tagaholic.me/lightning"
10 makedepends=('rubygems')
11 install=ruby-lightning.install
12 source=("http://gems.rubyforge.org/gems/lightning-${pkgver}.gem")
13 noextract=("lightning-${pkgver}.gem")
14 md5sums=('f8afac99fdcc8c7c4171f048830b57cf')
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "$pkgdir$_gemdir" lightning-$pkgver.gem \
23 mkdir -p ${pkgdir}/usr/share/licenses/ruby-lightning
24 ln -s ${pkgdir}/usr/lib/ruby/gems/1.9.1/gems/lightning-0.3.2/LICENSE.txt ${pkgdir}/usr/share/licenses/ruby-lightning/LICENSE
27 # vim:set ts=2 sw=2 et: