diff options
author | root <root@rshg054.dnsready.net> | 2011-09-06 23:14:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-06 23:14:33 +0000 |
commit | e2fb609d3af7a203357fd6ca983fef5f4dfba7eb (patch) | |
tree | 17d9357a559130a65cb1988b1e09cf8f1dd6bc55 /extra/licq | |
parent | e05f52e52ba779f4b0ebb5463dba9fc74f67f0b8 (diff) |
Tue Sep 6 23:14:33 UTC 2011
Diffstat (limited to 'extra/licq')
-rw-r--r-- | extra/licq/PKGBUILD | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/extra/licq/PKGBUILD b/extra/licq/PKGBUILD index a96e34f29..3eaf2461f 100644 --- a/extra/licq/PKGBUILD +++ b/extra/licq/PKGBUILD @@ -1,33 +1,40 @@ -# $Id: PKGBUILD 81727 2010-06-02 13:16:13Z juergen $ +# $Id: PKGBUILD 137082 2011-09-06 03:22:00Z eric $ # Maintainer: Juergen Hoetzel <juergen@archlinux.org> pkgname=licq -pkgver=1.3.9 +pkgver=1.5.1 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) +depends=('libxss' 'qt' 'openssl') +makedepends=('cmake' 'boost') +options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2) -md5sums=('5285efd538fc5540cc85bc8979b8efae') +md5sums=('7dbf9f4f190fdae4c34ab6edefb34997') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" + # licq - GPGME_CONFIG=/bin/false ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR=${pkgdir} install || return 1 + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make # qt4-gui - cd plugins/qt4-gui || return 1 + cd ../plugins/qt4-gui mkdir build cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH="${srcdir}/${pkgname}-${pkgver}/cmake" .. + make +} - cmake -DWITH_KDE=OFF -DCMAKE_INSTALL_PREFIX=/usr .. || return 1 +package() { + cd "${srcdir}/${pkgname}-${pkgver}/build" + make DESTDIR="${pkgdir}" install - make || return 1 - make DESTDIR=${pkgdir} install || return 1 + cd ../plugins/qt4-gui/build + make DESTDIR="${pkgdir}" install } |