Advertisement
Guest User

WiMP-se

a guest
Feb 9th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.10 KB | None | 0 0
  1. packager="slaveriq <arch@plassmann.biz> modified by: simon1573 <simon@tuxflux.se"
  2. pkgname=wimp-se
  3. pkgver=2.6.1
  4. #build=1022
  5. license='custom'
  6. pkgrel=1
  7. arch=('i686' 'x86_64')
  8. pkgdesc="The Adobe Air based Streaming Client for the Telenor Wimp Service.The NO version "
  9. url=('http://getwimp.com')
  10. #airfile=seWiMP.${pkgver}.${build}.air
  11. airfile=seWimp-${pkgver}.air
  12. source=("http://wimpmusic.com/wweb/resources/wimp_files/SE_62/release/${airfile}"
  13.     'WiMP.desktop')
  14. depends=('bash'
  15.     'adobe-air-sdk'
  16.     'unzip')
  17. conflicts=('wimp')
  18. md5sums=('dcd7310c9e17d665f16a843856aa782a'
  19.     '17d42e980e7f37e6bbf9eb39e304e1ef')
  20. #install=$pkgname.install
  21. noextract=(seWimp-2.6.1.air)
  22. build() {
  23.   cd $srcdir
  24.   mkdir -p $pkgdir/opt/airapps/wimp
  25.   mkdir -p $pkgdir/usr/bin
  26.   cd $pkgdir/opt/airapps/wimp
  27.   unzip $srcdir/${airfile}
  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.  
  31.   sed -i 's/application\/3.5/application\/2.6/g' META-INF/AIR/application.xml
  32.  
  33.   chmod +x $pkgdir/usr/bin/wimp
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement