summaryrefslogtreecommitdiff
path: root/community/kadu/PKGBUILD
blob: d575a5d51cf01bcc66d746f3667e96b5d918c69c (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
# $Id: PKGBUILD 61079 2011-12-21 20:51:06Z andrea $
# Maintainer:  Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Mateusz Herych
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>

pkgname=kadu
pkgver=0.10.1
pkgrel=3
pkgdesc="A Qt-based Jabber/XMPP and Gadu-Gadu client"
arch=('i686' 'x86_64')
url="http://www.kadu.net/"
license=('GPL')
depends=('libgadu' 'libxss' 'aspell' 'phonon' 'qca-ossl' 'libidn' 'libmpdclient' 'qtwebkit')
makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl')
source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
md5sums=('6211a9a9e02d645268cbf055892601a0')

build() {
  cd "$srcdir"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "$srcdir/build"
  make DESTDIR="$pkgdir" install
  rm -rf "$pkgdir/usr/{lib,include}/{libgadu*,pkgconfig}"
  rm -rf "$pkgdir/usr/share/kadu/{HISTORY,README}"
}