summaryrefslogtreecommitdiff
path: root/community/cppcheck/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-10 18:23:51 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-10 18:23:51 -0300
commit38b5b952ddc3b86560fc02e98105bf5826d25354 (patch)
tree0e689740cb7cc4cf171a6c962e623dbe7e53fc64 /community/cppcheck/PKGBUILD
parent1146fc0894bfda25180d63716029aabfa7ce017a (diff)
parent0615a909b089a81d068ae10517ceff31dabfece1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/performous/PKGBUILD community-testing/oss/PKGBUILD community-testing/picard/PKGBUILD community/deadbeef/PKGBUILD community/gnash/PKGBUILD community/mplayer2/PKGBUILD community/radvd/PKGBUILD community/tinc/PKGBUILD core/glibc/PKGBUILD core/lvm2/PKGBUILD core/util-linux/PKGBUILD extra/avidemux/PKGBUILD extra/boost/PKGBUILD extra/cppunit/PKGBUILD extra/ffmpeg/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/kdemultimedia/PKGBUILD extra/kradio/PKGBUILD extra/opal/PKGBUILD extra/pidgin/PKGBUILD extra/postfix/PKGBUILD extra/ptlib/PKGBUILD extra/xine-lib/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD kde-unstable/kdebase-workspace/kdm.service kde-unstable/kdemultimedia-ffmpegthumbs/PKGBUILD libre/virtualbox-libre/PKGBUILD libre/virtualbox-modules-lts/PKGBUILD multilib-testing/lib32-glibc/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-dbus-core/PKGBUILD multilib/lib32-e2fsprogs/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-glibc/glibc-2.15-revert-c5a0802a.patch multilib/lib32-gnutls/PKGBUILD multilib/lib32-libidn/PKGBUILD multilib/lib32-libjpeg-turbo/PKGBUILD multilib/lib32-pixman/PKGBUILD staging/ekiga/PKGBUILD staging/kdeedu-kig/PKGBUILD staging/kdeedu-rocs/PKGBUILD testing/glibc/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/kdebase-workspace/kdm.service testing/nilfs-utils/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'community/cppcheck/PKGBUILD')
-rw-r--r--community/cppcheck/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
index 0897f0159..3a565f512 100644
--- a/community/cppcheck/PKGBUILD
+++ b/community/cppcheck/PKGBUILD
@@ -1,26 +1,34 @@
-# $Id: PKGBUILD 69536 2012-04-18 02:12:09Z stephane $
+# $Id: PKGBUILD 73296 2012-07-05 20:48:55Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
-pkgver=1.54
+pkgver=1.55
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64' 'mips64el')
url="http://cppcheck.wiki.sourceforge.net/"
license=('GPL')
-depends=('pcre')
+depends=('pcre' 'qt')
makedepends=('docbook-xsl')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('f63abbd9bda7179c3ce3a399123bd7fb476e4537')
+sha1sums=('0e6f797ced959afddf7b847856a50636aa87ee3c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
- make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl man
+ make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.77.1/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 -D -p -m 644 cppcheck.1 "${pkgdir}"/usr/share/man/man1/cppcheck.1
+
+ install -m755 gui/cppcheck-gui "${pkgdir}"/usr/bin
}