updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / wimp-no / PKGBUILD
blob09d4e127c1ea9229300095a6b594cb3d007fdd65
1 packager="slaveriq <arch@plassmann.biz>"
2 pkgname=wimp-no
3 pkgver=1.5.46
4 license='custom'
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc="The Adobe Air based Streaming Client for the Telenor Wimp Service.The NO version "
8 url=('http://getwimp.com')
9 source=("http://wimp.aspiro.com/wweb/resources/wimp_files/NO_35/release/Wimp-1.5.46.air"
10         'WiMP.desktop')
11 depends=('bash'
12         'adobe-air-sdk'
13         'unzip ')
14 conflicts=('wimp')
15 md5sums=('7d52813e54bfbfa235e8fef8ee953fd2'
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