[arch-commits] Commit in kmess/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Mon May 20 21:10:04 UTC 2013
Date: Monday, May 20, 2013 @ 23:10:04
Author: foutrelis
Revision: 91295
upgpkg: kmess 2.0.6.2-2
Fix invalid PNG images to work with libpng 1.6.
Modified:
kmess/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-20 20:42:41 UTC (rev 91294)
+++ PKGBUILD 2013-05-20 21:10:04 UTC (rev 91295)
@@ -5,18 +5,25 @@
pkgname=kmess
pkgver=2.0.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="A MSN Messenger client for Linux"
arch=('i686' 'x86_64')
url='http://kmess.sourceforge.net/'
license=('GPL')
depends=('kdebase-lib')
-makedepends=('automoc4' 'cmake')
+makedepends=('automoc4' 'cmake' 'optipng')
optdepends=('cabextract: provides winks support')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.bz2")
md5sums=('a2e57911713308bef81b9347135cc5dd')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Fix invalid PNG images to work with libpng 1.6
+ find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
build() {
cd "${srcdir}"
mkdir build
More information about the arch-commits
mailing list