updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / traywbar / PKGBUILD
blobc4378f952d825d8cba8c8db11de6e65f63bd54a2
1 # Maintainer: Dan Serban
3 pkgname=traywbar
4 pkgver=0.1
5 pkgrel=1
6 pkgdesc="A systray icon that pops up a menu with the same selection of applications you already have configured for wbar"
7 arch=(any)
8 url=http://127.0.0.1/
9 license=(GPLv3)
10 depends=(python2 pygtk wbar)
11 source=(traywbar-0.1.py)
12 md5sums=('f1ba6144a52d5a2bbc4f62bdcf483382')
14 build()
16   install -Dm755 traywbar-0.1.py "${pkgdir}"/usr/bin/traywbar
17   mkdir -p "${pkgdir}"/etc/xdg/autostart
18   DESKTOPFILE="${pkgdir}"/etc/xdg/autostart/${pkgname}.desktop
19   echo "[Desktop Entry]" > "${DESKTOPFILE}"
20   echo "Name=TrayWbar" >> "${DESKTOPFILE}"
21   echo "Comment=TrayWbar menu for the systray" >> "${DESKTOPFILE}"
22   echo "Icon=stock_home" >> "${DESKTOPFILE}"
23   echo "Exec=traywbar" >> "${DESKTOPFILE}"
24   echo "Terminal=false" >> "${DESKTOPFILE}"
25   echo "Type=Application" >> "${DESKTOPFILE}"
26   echo "Categories=GTK;Utility;Core;" >> "${DESKTOPFILE}"
27   echo "NotShowIn=KDE;" >> "${DESKTOPFILE}"