blob: b6b063e8a7c8bf25ddaa4f8d4426f8945b27ce65 (
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
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 150853 2012-02-23 12:53:44Z juergen $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=licq
pkgver=1.6.0
pkgrel=1
pkgdesc="Advanced graphical ICQ clone and more for Unix"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.licq.org"
license=('GPL')
depends=('libxss' 'qt' 'openssl')
makedepends=('cmake' 'boost')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
md5sums=('383153697e281a0b1b4ff008936731b8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# licq
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
# qt4-gui
cd ../plugins/qt4-gui
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH="${srcdir}/${pkgname}-${pkgver}/cmake" ..
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
cd ../plugins/qt4-gui/build
make DESTDIR="${pkgdir}" install
}
|