1 # Contributor: H.Gökhan SARI <th0th@returnfalse.net>
6 pkgdesc="A powerful, clear and easy yet free task management tool."
8 url="http://www.doit.im/"
10 #depends=('adobe-air')
11 source=('http://doitim.googlecode.com/files/Doit_for_linux_2_3_19_en.tar.gz' 'doit.png')
12 md5sums=('fbca6b7aaaa89a1fe061519383fd52cd'
13 'fc5558eefc8e61f75c10836ec334aeb3')
18 mkdir -p "$pkgdir/"{"opt","usr/bin"}
20 mv "$srcdir/Doit" "$pkgdir/opt/"
21 chmod 755 "$pkgdir/opt/Doit"
23 echo "[Desktop Entry]" >> $srcdir/doit.desktop
24 echo "Categories=Application;Utility;" >> $srcdir/doit.desktop
25 echo "Comment=Adobe Air desktop task management application." >> $srcdir/doit.desktop
26 echo "Encoding=UTF-8" >> $srcdir/doit.desktop
27 echo "Exec=/usr/bin/doit" >> $srcdir/doit.desktop
28 echo "GenericName=Doit.im" >> $srcdir/doit.desktop
29 echo "Hidden=false" >> $srcdir/doit.desktop
30 echo "Icon=doit.png" >> $srcdir/doit.desktop
31 echo "MimeType=application/vnd.adobe.air-application-installer-package+zip" >> $srcdir/doit.desktop
32 echo "Name=Doit.im" >> $srcdir/doit.desktop
33 echo "Terminal=false" >> $srcdir/doit.desktop
34 echo "Type=Application" >> $srcdir/doit.desktop
36 install -m644 -D "$startdir/doit.png" "$pkgdir/usr/share/pixmaps/doit.png"
38 install -m644 -D "$srcdir/doit.desktop" "$pkgdir/usr/share/applications/doit.desktop"
40 ln -s "/opt/Doit/doit" "$pkgdir/usr/bin/doit"