summaryrefslogtreecommitdiff
path: root/community/kvirc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
commit1e6588d64f084decf287a58b7ff93ff0ce4d0446 (patch)
tree29bf5b8778e1eb67871d9e6e8bb6e205bdde5db7 /community/kvirc/PKGBUILD
parent80053e720288b6205a59c52c1b31c14a0f830989 (diff)
Mon Jun 4 00:01:23 UTC 2012
Diffstat (limited to 'community/kvirc/PKGBUILD')
-rw-r--r--community/kvirc/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/community/kvirc/PKGBUILD b/community/kvirc/PKGBUILD
index 1566792fb..bec61f747 100644
--- a/community/kvirc/PKGBUILD
+++ b/community/kvirc/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 61081 2011-12-21 20:51:13Z andrea $
+# $Id: PKGBUILD 71745 2012-06-02 10:29:12Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=kvirc
pkgver=4.0.4
-pkgrel=4
+pkgrel=5
pkgdesc="Qt-based IRC client"
url="http://www.kvirc.net"
depends=('python2' 'qt' 'libxss' 'qtwebkit')
@@ -12,11 +12,17 @@ makedepends=('cmake')
license=('GPL')
options=("!libtool")
install=kvirc.install
-source=(ftp://ftp.kvirc.de/pub/kvirc/$pkgver/source/$pkgname-$pkgver.tar.bz2)
-md5sums=('26fd24979ae4a29bac9309b3b0c98788')
+source=(ftp://ftp.kvirc.de/pub/kvirc/$pkgver/source/$pkgname-$pkgver.tar.bz2
+ kvirc-4.0.4-gcc-4.7.0.patch)
+md5sums=('26fd24979ae4a29bac9309b3b0c98788'
+ '863e33f5b38f0b5124144e9a8b640e42')
build() {
cd $srcdir
+
+ # Fix build with GCC 4.7
+ patch -d "$pkgname-$pkgver" -Np4 -i "$srcdir/kvirc-4.0.4-gcc-4.7.0.patch"
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \