Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 17th, 2011  |  syntax: None  |  size: 1.04 KB  |  hits: 164  |  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. packager="slaveriq <arch@plassmann.biz>"
  2. pkgname=wimp
  3. pkgver=1.3.7.3
  4. license='custom'
  5. pkgrel=1
  6. arch=('i686' 'x86_64')
  7. pkgdesc="The Adobe Air based Streaming Client for the Telenor Wimp Service. This package is currently DK only."
  8. url=('http://getwimp.com')
  9. source=("http://getwimp.com/resources/swf/web3/wimp_aspiro_com/wimp_dk/Wimp-1.3.7.3.air"
  10.         'WiMP.desktop')
  11. depends=('bash'
  12.         'adobe-air-sdk'
  13.         'unzip')
  14. conflicts=('wimp-no')
  15. md5sums=('52831cd135d241bfaa660d4fb6f53910'
  16.         '17d42e980e7f37e6bbf9eb39e304e1ef')
  17. instell=$pkgname.install
  18. build() {
  19.   cd $srcdir
  20.   mkdir $pkgdir/opt/
  21.   mkdir $pkgdir/opt/airapps
  22.   mkdir $pkgdir/usr/
  23.   mkdir $pkgdir/usr/bin
  24.   mv $srcdir/Wimp-$pkgver.air  $pkgdir/opt/airapps/wimp.air
  25.   mkdir $pkgdir/opt/airapps/wimp
  26.   cd $pkgdir/opt/airapps/wimp
  27.   unzip ../wimp.air
  28.   echo "#!/bin/bash" >> $pkgdir/usr/bin/wimp
  29.   echo "/opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/" >> $pkgdir/usr/bin/wimp
  30.   chmod +x $pkgdir/usr/bin/wimp
  31. }