Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 13th, 2010  |  syntax: None  |  size: 0.84 KB  |  views: 303  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
  2. # Contributor: Aaron Bishop <erroneous@gmail.com>
  3. pkgname=flvtool2
  4. pkgver=1.0.6
  5. pkgrel=4
  6. pkgdesc="Manipulation tool for Macromedia Flash Video files (FLV)."
  7. arch=('i686' 'x86_64')
  8. url="http://www.inlet-media.de/flvtool2"
  9. license=('GPL')
  10. depends=('ruby1.8')
  11. makedepends=('rubygems1.8')
  12. source=(http://gems.rubyforge.org/gems/$pkgname-$pkgver.gem)
  13. noextract=($pkgname-$pkgver.gem)
  14. md5sums=('08e5f6f10c06903447d97d7ba10cec67')
  15.  
  16. build() {
  17.   cd $srcdir
  18.   # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
  19.   # makepkg will exit with an error when sourcing the PKGBUILD
  20.   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
  21.  
  22.   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $pkgname-$pkgver.gem
  23.  
  24.   mv -t $pkgdir/usr/ $pkgdir$_gemdir/bin
  25. }
clone this paste RAW Paste Data