Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

backintime-kde4 pkgbuild

By: a guest on Jun 18th, 2013  |  syntax: Bash  |  size: 1.02 KB  |  views: 64  |  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. # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
  2. # Contributor: Kevin Kyzer <kevin@imsmrt.com>
  3.  
  4. pkgname=backintime-kde4
  5. pkgver=1.0.24
  6. pkgrel=3
  7. pkgdesc="Back In Time is a simple backup system for Linux inspired from 'flyback project' and 'TimeVault'. KDE 4 version"
  8. arch=('i686' 'x86_64')
  9. url="http://backintime.le-web.org/"
  10. license="GPL"
  11. depends=('rsync' 'cron' 'python2' 'xorg-utils' 'python2-pyqt4' 'kdebindings-python2' 'python2-keyring')
  12. conflicts=('backintime')
  13. source=(http://backintime.le-web.org/wp-content/uploads/2009/03/backintime-${pkgver}.tar.gz)
  14. md5sums=('7bb3a3ec192c12384a4fb2fb9b3e15b1')
  15.  
  16. build() {
  17. cd $startdir/src/common
  18. ./configure
  19. make || return 1
  20.  
  21. cd $startdir/src/kde4
  22. ./configure
  23. make || return 1
  24. }
  25.  
  26. package(){
  27. cd $startdir/src/common
  28. make DESTDIR=${pkgdir} install || return 1
  29. sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime
  30.  
  31. cd $startdir/src/kde4
  32. make DESTDIR=${pkgdir} install || return 1
  33. sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime-kde4
  34. }