summaryrefslogtreecommitdiff
path: root/extra/licq
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
committerroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
commite3f225daecfd5cfea4af1a4e8ac4b6c46c7ec363 (patch)
treeb3e36d93c34b5b08544b1698462c06fdb99560b8 /extra/licq
parent383955a81810f344e11b1472bd4c5069fa77020c (diff)
Tue May 21 00:28:39 PDT 2013
Diffstat (limited to 'extra/licq')
-rw-r--r--extra/licq/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/extra/licq/PKGBUILD b/extra/licq/PKGBUILD
index 4f3355d44..7683b72e4 100644
--- a/extra/licq/PKGBUILD
+++ b/extra/licq/PKGBUILD
@@ -1,32 +1,39 @@
-# $Id: PKGBUILD 181125 2013-03-31 19:16:53Z stephane $
+# $Id: PKGBUILD 186068 2013-05-20 21:46:39Z foutrelis $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=licq
pkgver=1.7.1
-pkgrel=3
-pkgdesc="Advanced graphical ICQ clone and more for Unix"
+pkgrel=4
+pkgdesc="Advanced graphical ICQ clone and more for Unix"
arch=('i686' 'x86_64')
url="http://www.licq.org"
license=('GPL')
depends=('boost-libs' 'gpgme' 'libxss' 'qt4')
-makedepends=('cmake' 'boost')
+makedepends=('cmake' 'boost' 'optipng')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/licq/licq-${pkgver}.tar.bz2)
md5sums=('701e57efedc2b7ece64c3d2d2e9f9e16')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ mkdir {,plugins/qt4-gui/}build
+
+ # Fix invalid PNG images to work with libpng 1.6
+ # https://github.com/licq-im/licq/pull/32
+ optipng -quiet -force -fix plugins/qt4-gui/share/skins/Mirabilis/*.png
+}
+
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
+ cd ../plugins/qt4-gui/build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH="${srcdir}/${pkgname}-${pkgver}/cmake" ..
make
}