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

changes to qutecom-hg PKGBUILD

By: a guest on Mar 25th, 2010  |  syntax: Diff  |  size: 0.75 KB  |  views: 306  |  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. --- /tmp/qtc/PKGBUILD 2010-03-25 14:06:24.000000000 +0200
  2. +++ PKGBUILD 2010-03-25 14:04:44.000000000 +0200
  3. @@ -30,13 +30,19 @@
  4. # update the repo, else clone a new one
  5. if [ -d ${_hgrepo} ]; then
  6. cd ${_hgrepo}/
  7. - make clean
  8. hg pull -u || return 1
  9. else
  10. hg clone ${_hgroot}/${_hgrepo} || return 1
  11. cd ${_hgrepo}/
  12. fi
  13. msg "Mercurial checkout done or server timeout"
  14. +
  15. + msg "Cloning working directory"
  16. + cd ${srcdir}
  17. + rm -rf ${srcdir}/${_hgrepo}-build 2>/dev/null
  18. + cp -a ${_hgrepo} ${_hgrepo}-build
  19. + cd ${_hgrepo}-build
  20. +
  21. msg "Starting make..."
  22.  
  23. # Patches
  24. @@ -48,4 +54,6 @@
  25. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev || return 1
  26. make || return 1
  27. make DESTDIR=${pkgdir} install || return 1
  28. +
  29. + rm -rf ${srcdir}/${_hgrepo}-build 2>/dev/null
  30. }
clone this paste RAW Paste Data