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

Stéphane Gaudreault stephane at nymeria.archlinux.org
Mon May 20 10:05:47 EDT 2013


    Date: Monday, May 20, 2013 @ 16:05:47
  Author: stephane
Revision: 186021

upgpkg: konversation 1.4-6

Fix invalid PNGs for libpng 1.6

Modified:
  konversation/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-20 13:53:06 UTC (rev 186020)
+++ PKGBUILD	2013-05-20 14:05:47 UTC (rev 186021)
@@ -6,12 +6,12 @@
 
 pkgname=konversation
 pkgver=1.4
-pkgrel=5
+pkgrel=6
 pkgdesc="A user friendly IRC client for KDE"
 arch=('i686' 'x86_64')
 url="http://konversation.kde.org"
 depends=('kdebase-runtime' 'kdepimlibs')
-makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml')
+makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml' 'optipng')
 optdepends=('python: python scripting support'
             'kdebase-konsole: open a terminal in konversation'
             'qca-ossl: Diffie-Hellman key exchange and Blowfish ECB/CBC support')
@@ -21,6 +21,12 @@
 source=("http://download.kde.org/download.php?url=stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
 sha1sums=('90741721f68a02d4345b9006a8ae53bc49ef3777')
 
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # libpng16 fix
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
 build() {
   cd "${srcdir}"
   mkdir build



More information about the arch-commits mailing list