1 # Contributor: Ricardo Funke Ormieres <ricardo DOT funke at gmail DOT com>
6 pkgdesc="An Adobe Air application for working with the Pomodoro technique"
8 url="http://pomodo.areacriacoes.com.br/"
12 source=(http://pomodo.areacriacoes.com.br/download/pomodo.air)
13 md5sums=('69b7bbb005fdfc2302652b6e22dcb5e1')
18 mkdir -p ${pkgdir}/opt/$pkgname
19 unzip ${pkgname}.air -d ${srcdir}
21 echo "[Desktop Entry]" >> ${srcdir}/${pkgname}.desktop
22 echo "Categories=Office;ProjectManagement;" >> ${srcdir}/${pkgname}.desktop
23 echo "Comment=$pkgdesc" >> ${srcdir}/${pkgname}.desktop
24 echo "Encoding=UTF-8" >> ${srcdir}/${pkgname}.desktop
25 echo "Exec=adobe-air /opt/${pkgname}/${pkgname}.air" >> ${srcdir}/${pkgname}.desktop
26 echo "GenericName=$pkgname" >> ${srcdir}/${pkgname}.desktop
27 echo "Hidden=false" >> ${srcdir}/${pkgname}.desktop
28 echo "Icon=${pkgname}.png" >> ${srcdir}/${pkgname}.desktop
29 echo "MimeType=application/vnd.adobe.air-application-installer-package+zip" >> ${srcdir}/${pkgname}.desktop
30 echo "Name=Pomodo" >> ${srcdir}/${pkgname}.desktop
31 echo "Terminal=false" >> ${srcdir}/${pkgname}.desktop
32 echo "Type=Application" >> ${srcdir}/${pkgname}.desktop
34 install -m644 -D ${srcdir}/app/assets/images/icons/128.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
35 install -m644 -D ${srcdir}/${pkgname}.air ${startdir}/pkg/opt/${pkgname}/${pkgname}.air
36 install -m644 -D ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop