7 pkgdesc="A minimalistic application for searching, listening, downloading and discovering new music"
8 url=('http://mielophone.github.com')
9 source=(https://github.com/downloads/mielophone/Mielophone/Mielophone_generic_v${pkgver}.air ${pkgname}.desktop)
11 md5sums=('27a4af3f91039ac266241e6dd00c5778'
12 '2d54e795f0cca3ecdef707bc33fd681e')
15 mkdir -p ${pkgdir}/opt/airapps/
16 mkdir -p ${pkgdir}/usr/bin/
18 unzip Mielophone_generic_v${pkgver}.air -d ${pkgdir}/opt/airapps/${pkgname}
19 touch $pkgdir/usr/bin/${pkgname}
20 echo "#!/bin/bash" >> $pkgdir/usr/bin/${pkgname}
21 echo "/opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/${pkgname}/META-INF/AIR/application.xml /opt/airapps/${pkgname}/" >> $pkgdir/usr/bin/${pkgname}
22 chmod +x $pkgdir/usr/bin/${pkgname}
23 install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop