1 # Contributor: Chad Davis <archlinux at davtek DOT com>
6 pkgdesc="It's an RSS ticker that pulls random items from your feeds and scrolls them across your desktop. When you see a title that looks interesting, you can click on it to pop up the item in a window."
8 url="http://snackr.net/"
12 source=(http://snackr.net/Snackr.air)
13 md5sums=('32b584a4188e7cf9784bfee055a87e60')
18 mkdir -p ${startdir}/pkg/opt/snackr
20 unzip Snackr.air -d ${startdir}/src
22 cp Snackr.air ${startdir}/pkg/opt/snackr
24 echo "[Desktop Entry]" >> ${startdir}/src/snackr.desktop
25 echo "Categories=Application;Network;" >> ${startdir}/src/snackr.desktop
26 echo "Comment=An RSS ticker that pulls random items from your feeds and scrolls them across your desktop" >> ${startdir}/src/snackr.desktop
27 echo "Encoding=UTF-8" >> ${startdir}/src/snackr.desktop
28 echo "Exec=adobe-air /opt/snackr/Snackr.air" >> ${startdir}/src/snackr.desktop
29 echo "GenericName=Snackr" >> ${startdir}/src/snackr.desktop
30 echo "Hidden=false" >> ${startdir}/src/snackr.desktop
31 echo "Icon=snackr.png" >> ${startdir}/src/snackr.desktop
32 echo "MimeType=application/vnd.adobe.air-application-installer-package+zip" >> ${startdir}/src/snackr.desktop
33 echo "Name=snackr" >> ${startdir}/src/snackr.desktop
34 echo "Terminal=false" >> ${startdir}/src/snackr.desktop
35 echo "Type=Application" >> ${startdir}/src/snackr.desktop
37 install -m644 -D ${startdir}/src/icons/snackr-icon-flat-48.png ${startdir}/pkg/usr/share/pixmaps/snackr.png
38 install -m644 -D ${startdir}/src/Snackr.air ${startdir}/pkg/opt/snackr
40 install -m644 -D ${startdir}/src/snackr.desktop ${startdir}/pkg/usr/share/applications/snackr.desktop