[arch-commits] Commit in cppcheck/repos (4 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Tue Feb 26 14:58:24 UTC 2013
Date: Tuesday, February 26, 2013 @ 15:58:23
Author: andrea
Revision: 84947
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
cppcheck/repos/community-staging-i686/
cppcheck/repos/community-staging-i686/PKGBUILD
(from rev 84946, cppcheck/trunk/PKGBUILD)
cppcheck/repos/community-staging-x86_64/
cppcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 84946, cppcheck/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: cppcheck/repos/community-staging-i686/PKGBUILD (from rev 84946, cppcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-02-26 14:58:23 UTC (rev 84947)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgname=cppcheck
+pkgver=1.58
+pkgrel=2
+pkgdesc="A tool for static C/C++ code analysis"
+arch=('i686' 'x86_64')
+url="http://cppcheck.wiki.sourceforge.net/"
+license=('GPL')
+depends=('pcre' 'qt4')
+makedepends=('docbook-xsl')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('c7f597c600c30b1a5e9c6b3228a11e9872d562e5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+ make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.78.0/manpages/docbook.xsl man
+
+ cd gui
+ export HAVE_RULES=yes
+ qmake
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -p -m 644 cppcheck.1 "${pkgdir}"/usr/share/man/man1/cppcheck.1
+
+ install -m755 gui/cppcheck-gui "${pkgdir}"/usr/bin
+}
Copied: cppcheck/repos/community-staging-x86_64/PKGBUILD (from rev 84946, cppcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-02-26 14:58:23 UTC (rev 84947)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgname=cppcheck
+pkgver=1.58
+pkgrel=2
+pkgdesc="A tool for static C/C++ code analysis"
+arch=('i686' 'x86_64')
+url="http://cppcheck.wiki.sourceforge.net/"
+license=('GPL')
+depends=('pcre' 'qt4')
+makedepends=('docbook-xsl')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('c7f597c600c30b1a5e9c6b3228a11e9872d562e5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+ make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.78.0/manpages/docbook.xsl man
+
+ cd gui
+ export HAVE_RULES=yes
+ qmake
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -p -m 644 cppcheck.1 "${pkgdir}"/usr/share/man/man1/cppcheck.1
+
+ install -m755 gui/cppcheck-gui "${pkgdir}"/usr/bin
+}
More information about the arch-commits
mailing list