This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 1st, 2012  |  syntax: None  |  size: 0.78 KB  |  views: 139  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: TDY <tdy@gmx.com>
  2.  
  3. pkgname=git-cola
  4. pkgver=1.4.3.5
  5. pkgrel=1
  6. pkgdesc="A powerful GUI for Git"
  7. arch=('any')
  8. url="http://cola.tuxfamily.org/"
  9. license=('GPL')
  10. depends=('git' 'python2-pyqt>=4.3')
  11. makedepends=('asciidoc' 'docbook-xsl' 'python2-sphinx' 'rsync' 'xmlto')
  12. optdepends=('pyinotify>=0.7.1: for inotify support'
  13.             'tk: to use the built-in ssh-askpass handler')
  14. options=('!makeflags')
  15. source=(http://cola.tuxfamily.org/releases/cola-$pkgver.tar.gz)
  16. md5sums=('18ced4f4300d85c9cd0183b429b6b092')
  17.  
  18. build() {
  19.   cd "$srcdir/${pkgname/*-}-$pkgver"
  20.   sed -i 's,= python,&2,' Makefile
  21.   sed -i '1s,python,&2,' bin/$pkgname
  22.   make all doc html
  23. }
  24.  
  25. package() {
  26.   cd "$srcdir/${pkgname/*-}-$pkgver"
  27.   make prefix=/usr DESTDIR="$pkgdir" install{,-doc,-html}
  28. }
clone this paste RAW Paste Data