4 pkgdesc="An Adobe AIR Desktop Client for checking Gmail but with more features"
6 url="http://www.sourcebits.com/geemail"
10 source=(http://www.sourcebits.com/$pkgname/$pkgname.zip)
11 md5sums=('162f74032755bd88b3e0b6002a7249c6')
15 mkdir -p ${startdir}/pkg/opt/geemail
16 mkdir -p ${startdir}/src/$pkgname
17 unzip -o $pkgname.zip -d ${startdir}/src/$pkgname
19 unzip -o $pkgname.air -d ${startdir}/src
20 cp $pkgname.air ${startdir}/pkg/opt/$pkgname
22 echo "[Desktop Entry]" > ${startdir}/src/geemail.desktop
23 echo "Categories=Application;Network;" >> ${startdir}/src/geemail.desktop
24 echo "Comment=Adobe Air desktop client for checking Gmail but with more features" >> ${startdir}/src/geemail.desktop
25 echo "Encoding=UTF-8" >> ${startdir}/src/geemail.desktop
26 echo "Exec=adobe-air /opt/geemail/geemail.air" >> ${startdir}/src/geemail.desktop
27 echo "GenericName=GeeMail" >> ${startdir}/src/geemail.desktop
28 echo "Hidden=false" >> ${startdir}/src/geemail.desktop
29 echo "Icon=geemail.png" >> ${startdir}/src/geemail.desktop
30 echo "MimeType=application/vnd.adobe.air-application-installer-package+zip" >> ${startdir}/src/geemail.desktop
31 echo "Name=GeeMail" >> ${startdir}/src/geemail.desktop
32 echo "Terminal=false" >> ${startdir}/src/geemail.desktop
33 echo "Type=Application" >> ${startdir}/src/geemail.desktop
35 install -m644 -D ${startdir}/src/assets/images/mail.png ${startdir}/pkg/usr/share/pixmaps/geemail.png
36 install -m644 -D ${startdir}/src/$pkgname/$pkgname.air ${startdir}/pkg/opt/$pkgname
37 install -m644 -D ${startdir}/src/geemail.desktop ${startdir}/pkg/usr/share/applications/geemail.desktop