summaryrefslogtreecommitdiff
path: root/community/kvirc/PKGBUILD
blob: b24e5a269714c02b71a3bfafb55e14cf95f5762e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 61081 2011-12-21 20:51:13Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=kvirc
pkgver=4.0.4
pkgrel=4
pkgdesc="Qt-based IRC client"
url="http://www.kvirc.net"
depends=('python2' 'qt' 'libxss' 'qtwebkit')
arch=(i686 x86_64 'mips64el')
makedepends=('cmake')
license=('GPL')
options=("!libtool")
install=kvirc.install
source=(ftp://ftp.kvirc.de/pub/kvirc/$pkgver/source/$pkgname-$pkgver.tar.bz2)
md5sums=('26fd24979ae4a29bac9309b3b0c98788')

build() {
  cd $srcdir
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DWANT_KDE4=OFF \
    -DWANT_PERL=ON \
    -DWANT_PHONON=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/build
  make DESTDIR=$pkgdir install
}