daily pastebin goal
9%
SHARE
TWEET

SpectoPKGBUILD

a guest May 31st, 2016 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
  2. # Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
  3.  
  4. pkgname=specto-bzr
  5. pkgver=176
  6. pkgrel=1
  7. pkgdesc="A desktop application that will watch configurable events"
  8. arch=('any')
  9. url="http://code.launchpad.net/specto"
  10. license=('GPL2')
  11. depends=('python2-notify' 'gnome-python-extras' 'dbus-python' 'pygtk' 'gnome-icon-theme')
  12. makedepends=('bzr' 'librsvg')
  13. conflicts=('specto' 'specto-svn')
  14. provides=('specto')
  15. install=$pkgname.install
  16. source=()
  17. md5sums=()
  18.  
  19. _bzrbranch=https://code.launchpad.net/~specto/specto/main
  20. _bzrmod=specto
  21.  
  22. build()
  23. {
  24.   cd "${srcdir}"
  25.  
  26.   msg "Connecting to the server...."
  27.  
  28.   if [ ! -d ./$_bzrmod ]; then
  29.     bzr co $_bzrbranch $_bzrmod -r ${pkgver}
  30.   else
  31.     bzr up $_bzrmod
  32.   fi
  33.  
  34.   msg "BZR checkout done or server timeout"
  35.   msg "Starting make..."
  36. }
  37.  
  38. package()
  39. {
  40.     cd ./$_bzrmod
  41.     python2 setup.py build
  42.     python2 setup.py install --prefix=/usr --root="${pkgdir}"
  43. }
RAW Paste Data
Top