[arch-commits] Commit in kadu/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sun May 5 05:23:48 EDT 2013


    Date: Sunday, May 5, 2013 @ 11:23:47
  Author: bpiotrowski
Revision: 89896

upgpkg: kadu 0.12.3-3

- fix icons for libpng 1.6

Modified:
  kadu/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-05 07:50:40 UTC (rev 89895)
+++ PKGBUILD	2013-05-05 09:23:47 UTC (rev 89896)
@@ -5,20 +5,23 @@
 
 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 @@
 }
 
 package() {
-  cd $srcdir/build
+  cd build
   make DESTDIR=$pkgdir LIBDIR=/usr/lib install
 
   mv $pkgdir/usr/sdk $pkgdir/usr/share/kadu/sdk



More information about the arch-commits mailing list