summaryrefslogtreecommitdiff
path: root/community/kmess/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kmess/PKGBUILD')
-rw-r--r--community/kmess/PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/community/kmess/PKGBUILD b/community/kmess/PKGBUILD
index 7574d167c..7405e80dc 100644
--- a/community/kmess/PKGBUILD
+++ b/community/kmess/PKGBUILD
@@ -1,22 +1,29 @@
-# $Id: PKGBUILD 67104 2012-03-04 10:22:10Z andrea $
+# $Id: PKGBUILD 91296 2013-05-20 21:10:18Z foutrelis $
# Maintainer:
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Stefano Zamprogno <stefano.zamprogno@gmail.com>
pkgname=kmess
pkgver=2.0.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="A MSN Messenger client for Linux"
arch=('i686' 'x86_64' 'mips64el')
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