SHARE
TWEET

oblogout-fork-git

a guest Oct 27th, 2013 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Kirill Malyshev <keryascorpio at gmail.com>
  2. # Contributor: Robert Orzanna <orschiro@googlemail.com>
  3. pkgname=oblogout-fork-git
  4. pkgver=20130106
  5. pkgrel=1
  6. pkgdesc="Openbox Logout Script Fork used by CrunchBang"
  7. arch=('any')
  8. url="https://github.com/Cloudef/oblogout-fork"
  9. depends=('pygtk' 'cairo' 'python-imaging' 'python2-distutils-extra' 'dbus-python' 'upower')
  10. makedepends=('git')
  11. license=('GPL2')
  12. backup=(etc/oblogout.conf)  
  13. conflicts=('openboxlogout-gnome' 'oblogout')
  14. install=oblogout.install
  15. source=(oblogout.conf
  16.         switch-user.patch)
  17. md5sums=('1e43b3a6ffeaefa0f68152a473259676'
  18.          '86a7a64ae86c0d733f69d37da05eb357')
  19.  
  20. _gitroot="git://github.com/Cloudef/oblogout-fork.git"
  21. _gitname="oblogout-fork"
  22.  
  23. build() {
  24.   cd "$srcdir"
  25.   msg "Connecting to GIT server...."
  26.  
  27.   if [ -d $_gitname ] ; then
  28.     cd $_gitname && git pull origin
  29.     msg "The local files are updated."
  30.   else
  31.     git clone $_gitroot $_gitname --dept=1
  32.   fi
  33.  
  34.   msg "GIT checkout done or server timeout"
  35.   msg "Starting make..."
  36.  
  37.   cd "$srcdir/$_gitname"
  38.  
  39.   #
  40.   # BUILD HERE
  41.   #
  42.  
  43.   patch -p1 < "$srcdir/switch-user.patch"
  44.  
  45.   python2 setup.py install --root="$pkgdir/"
  46.   install -m644 "$srcdir/oblogout.conf" "$pkgdir/etc/"
  47. }
  48.  
  49. # vim:set ts=2 sw=2 et:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top