summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Pento2019-12-15 10:28:16 -0500
committerMike Pento2019-12-15 10:28:16 -0500
commit0bf8cd815de1fec73ce0e7aef80dee081bcb59cd (patch)
tree1e8d8fa36b178bac9492632f6d8538504900a88a
parent44a0bfed6b831a4b8e30a90ce647bad1efb70aa5 (diff)
downloadaur-0bf8cd815de1fec73ce0e7aef80dee081bcb59cd.tar.gz
Added FILESDIR to make command line, cleaned up SRCDIR warnings
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f5a75d43b66..361e6f11d0a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cppcheck-nox
pkgdesc = A tool for static C/C++ code analysis without the GUI
pkgver = 1.89
- pkgrel = 1
+ pkgrel = 2
url = http://cppcheck.sourceforge.net/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 8fcafe9d868..c00d6876eda 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=cppcheck-nox
_pkgname=cppcheck
pkgver=1.89
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for static C/C++ code analysis without the GUI"
arch=('i686' 'x86_64')
url="http://cppcheck.sourceforge.net/"
@@ -18,13 +18,14 @@ md5sums=('3bc61e54f13639c60a3fc698edb18d61')
build() {
cd "${_pkgname}-${pkgver}"
- LANG='en_US.UTF-8' make MATCHCOMPILER=yes SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
+ LANG='en_US.UTF-8'
+ make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl CFGDIR=/usr/share/cppcheck/cfg man
}
package() {
cd "${_pkgname}-${pkgver}"
- LANG='en_US.UTF-8' make MATCHCOMPILER=yes DESTDIR=${pkgdir} FILESDIR=/usr/share/cppcheck CFGDIR=/usr/share/cppcheck/cfg SRCDIR=build HAVE_RULES=yes install
+ LANG='en_US.UTF-8' make MATCHCOMPILER=yes DESTDIR=${pkgdir} FILESDIR=/usr/share/cppcheck CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes install
install -D -p -m 644 cppcheck.1 "${pkgdir}"/usr/share/man/man1/cppcheck.1