From ffb692bf2696e7ebedd19bcd55ba253e21cb732d Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 May 2013 00:09:00 -0700 Subject: Mon May 6 00:08:59 PDT 2013 --- community/kadu/PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'community/kadu/PKGBUILD') diff --git a/community/kadu/PKGBUILD b/community/kadu/PKGBUILD index c4ce385b7..c34fcdf61 100644 --- a/community/kadu/PKGBUILD +++ b/community/kadu/PKGBUILD @@ -1,24 +1,27 @@ -# $Id: PKGBUILD 82749 2013-01-23 20:16:18Z bpiotrowski $ +# $Id: PKGBUILD 89897 2013-05-05 09:24:04Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Mateusz Herych # Contributor: Jaroslaw Swierczynski pkgname=kadu pkgver=0.12.3 -pkgrel=2 +pkgrel=3 pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client' arch=('i686' 'x86_64') url='http://www.kadu.net/' license=('GPL') depends=('libgadu' 'libxss' 'enchant' 'phonon' 'qca-ossl' 'libidn' 'libmpdclient' 'qtwebkit' 'xdg-utils') -makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl') +makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'optipng') install=kadu.install source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2) sha256sums=('d607bbd0d00b01bfb70dd15f15c8be4076896a935041651e67a3887ad12ab8a8') +prepare() { + find -name '*.png' -exec optipng -quiet -force -fix {} + +} + build() { - cd $srcdir mkdir build cd build @@ -29,7 +32,7 @@ build() { } package() { - cd $srcdir/build + cd build make DESTDIR=$pkgdir LIBDIR=/usr/lib install mv $pkgdir/usr/sdk $pkgdir/usr/share/kadu/sdk -- cgit v1.2.3-54-g00ecf