Advertisement
Guest User

Untitled

a guest
Apr 30th, 2013
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.65 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement