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

Untitled

By: a guest on Apr 30th, 2013  |  syntax: Bash  |  size: 0.65 KB  |  views: 6  |  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: Thomas Dziedzic < gostrc at gmail >
  2.  
  3. pkgname=cppcheck-git
  4. pkgver=1.59.91.gb2798e9
  5. pkgver() {
  6.     cd cppcheck
  7.     git describe --tags | sed -e 's/^cppcheck\-//' -e 's/-/./g'
  8. }
  9. pkgrel=1
  10. pkgdesc='A tool for static C/C++ code analysis'
  11. arch=('i686' 'x86_64')
  12. url='http://cppcheck.wiki.sourceforge.net'
  13. license=('GPL3')
  14. conflicts=('cppcheck')
  15. depends=('gcc-libs' 'pcre')
  16. source=('cppcheck::git://github.com/danmar/cppcheck.git')
  17. sha1sums=('SKIP')
  18.  
  19.  
  20. build() {
  21.     cd "$srcdir"/cppcheck
  22.     make
  23. }
  24.  
  25. check() {
  26.     cd "$srcdir"/cppcheck
  27.     make check
  28. }
  29.  
  30. package() {
  31.     cd "$srcdir"/cppcheck
  32.     make DESTDIR=${pkgdir} install
  33. }
clone this paste RAW Paste Data