Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for key-mon Version 1.9

By: a guest on Feb 15th, 2012  |  syntax: Bash  |  size: 0.94 KB  |  views: 67  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #Contributor: Nuno Araujo <nuno.araujo at russo79.com>
  2. #Contributor: Guan Qing <neokuno@gmail.com>
  3. #Maintainer: Tom  Tryfonidis <tomtryf at gmail.com>
  4.  
  5. pkgname=key-mon
  6. pkgver=1.9
  7. pkgrel=1
  8. pkgdesc="A small utility to display your current keyboard and mouse status. Useful for screencasts."
  9. arch=('any')
  10. url="http://code.google.com/p/key-mon/"
  11. depends=('pygtk' 'dbus-glib' 'dbus-python' )
  12. makedepends=('python2-distribute' 'python-xlib')
  13. install=${pkgname}.install
  14. license=('Apache 2.0')
  15. source=("http://key-mon.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
  16. md5sums=('7aa8e9f83c12140b62d29432963e9a9d')
  17. build() {
  18. cd ${srcdir}
  19.  
  20. cd ${pkgname}-${pkgver}
  21. python2 setup.py install --root=${pkgdir} || return 1
  22. install -m 755 ${srcdir}/${pkgname}-${pkgver}/icons/key-mon.desktop -D ${pkgdir}/usr/share/applications/key-mon.desktop
  23. install -m 755 ${srcdir}/${pkgname}-${pkgver}/icons/key-mon.xpm -D ${pkgdir}/usr/share/pixmaps/key-mon.xpm
  24.  
  25. }
clone this paste RAW Paste Data