updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / qutim-icq / PKGBUILD
blob8bec490d07fcf29502d8a56059b9e9c2a639518c
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
2 # Contributor: Borislav Gerassimov <borislav_ba@hotmail.com>
3 # Contributor: Artem Sereda <overmind88@yandex.ru>
5 pkgname=qutim-icq
6 pkgver=0.2_alpha
7 pkgrel=1
8 pkgdesc="A free ICQ client using the QT toolkit"
9 arch=('i686' 'x86_64')
10 url="http://qutim.org/"
11 license=('GPL')
12 depends=('qt>=4.4') 
13 makedepends=('cmake>=2.6')
14 conflicts=('qutim')
15 source=($url/uploads/qutim_${pkgver}_source.tar.bz2 \
16         qutim.desktop)
17 md5sums=('6045f1c52dcea4b693bbf637d3461fad'
18          '22878318c6bb42ee4f867391118ed7b5')
20 build() {
21   cd qutim
23   cmake . \
24         -DCMAKE_INSTALL_PREFIX=/usr \
25         || return 1
27   make DESTDIR="$pkgdir" install || return 1
29   cd plugins/icq
31   qmake || return 1
32   make  || return 1
34   install -Dm644 ../libicq.so "$pkgdir"/usr/lib/qutim/libicq.so  
36   install -Dm644 "$srcdir"/qutim/icons/qutim_64.png "$pkgdir"/usr/share/pixmaps/qutim.png
37   install -Dm644 "$srcdir"/qutim.desktop "$pkgdir"/usr/share/applications/qutim.desktop