7 pkgdesc="Music streaming media player."
8 url=('http://www.musicdog.se/')
9 source=(http://www.musicdog.se/downloads/MusicDog_Installer.air ${pkgname}.desktop)
12 md5sums=('c5902861ff616ddc24a6e119292f228c'
13 '5939d05459f32a86980b0c00ce820e26')
16 mkdir -p ${pkgdir}/opt/airapps/
17 mkdir -p ${pkgdir}/usr/bin/
19 unzip MusicDog_Installer.air -d ${pkgdir}/opt/airapps/${pkgname}
20 touch $pkgdir/usr/bin/${pkgname}
21 echo "#!/bin/bash" >> $pkgdir/usr/bin/${pkgname}
22 echo "/opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/${pkgname}/META-INF/AIR/application.xml /opt/airapps/${pkgname}/" >> $pkgdir/usr/bin/${pkgname}
23 chmod +x $pkgdir/usr/bin/${pkgname}
24 install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop