diff options
Diffstat (limited to 'cppcheck/Pkgfile')
-rw-r--r-- | cppcheck/Pkgfile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/cppcheck/Pkgfile b/cppcheck/Pkgfile index 0c6fb3eae..25c1f2a7d 100644 --- a/cppcheck/Pkgfile +++ b/cppcheck/Pkgfile @@ -1,21 +1,24 @@ # Description: Static analysis tool for C/C++ code # URL: http://cppcheck.sourceforge.net/ # Maintainer: John Vogel, jvogel4 at stny dot rr dot com -# Depends on: libpcre python docbook-xsl +# Depends on: libpcre python3-pygments docbook-xsl name=cppcheck -version=2.0 +version=2.1 release=1 source=(https://github.com/danmar/$name/archive/$version/$name-$version.tar.gz) build() { cd $name-$version - make install HAVE_RULES=yes \ - MATCHCOMPILER=yes \ - FILESDIR=/usr/share/cppcheck \ - DESTDIR=$PKG + sed -i -e 's,python,python3,' htmlreport/cppcheck-htmlreport + + make install \ + HAVE_RULES=yes \ + MATCHCOMPILER=yes \ + FILESDIR=/usr/share/cppcheck \ + DESTDIR=$PKG make man DB2MAN=/usr/share/xml/docbook/xsl-stylesheets/manpages/docbook.xsl - install -Dm 0444 $name.1 $PKG/usr/share/man/man1/$name.1 + install -Dm 0644 $name.1 $PKG/usr/share/man/man1/$name.1 } |