summaryrefslogtreecommitdiff
path: root/community/kadu/PKGBUILD
blob: 0b52f06533f50a9a24884554eea8509b98dcba4c (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
# $Id: PKGBUILD 44782 2011-04-11 20:09:55Z mherych $
# Maintainer: Mateusz Herych
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>

pkgname=kadu
pkgver=0.9.1
pkgrel=1
pkgdesc="A Qt-based Gadu-Gadu client"
arch=('i686' 'x86_64')
url="http://www.kadu.net/"
license=('GPL')
depends=('libgadu' 'libxss' 'aspell' 'phonon' 'qca-ossl' 'libidn')
makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl')
source=(http://www.kadu.net/download/stable/$pkgname-$pkgver.tar.bz2)
md5sums=('99cb6e9d4acea6dbb15ff98dfe44dff9')

build() {
  cd $srcdir/kadu-$pkgver
  cmake . -DCMAKE_INSTALL_PREFIX=/usr
  make
}

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