summaryrefslogtreecommitdiff
path: root/extra/licq/PKGBUILD
blob: a96e34f29e6c306a07e6be69cc51a67add0756b1 (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 81727 2010-06-02 13:16:13Z juergen $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>

pkgname=licq
pkgver=1.3.9
pkgrel=1
pkgdesc="Advanced graphical ICQ clone and more for Unix" 
arch=('i686' 'x86_64')
url="http://www.licq.org"
license=('GPL')
depends=('libxss' 'qt' 'openssl' 'boost')
makedepends=('cmake')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
md5sums=('5285efd538fc5540cc85bc8979b8efae')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  # licq
  GPGME_CONFIG=/bin/false ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1

  # qt4-gui
  cd plugins/qt4-gui || return 1
  mkdir build
  cd build

  cmake -DWITH_KDE=OFF -DCMAKE_INSTALL_PREFIX=/usr .. || return 1

  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}