[arch-commits] Commit in kmess/trunk (PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Wed Oct 1 06:30:06 UTC 2014
Date: Wednesday, October 1, 2014 @ 08:30:05
Author: jlichtblau
Revision: 119921
kde4 translation rebuild: kmess 2.0.6.2-7
Modified:
kmess/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-01 06:14:10 UTC (rev 119920)
+++ PKGBUILD 2014-10-01 06:30:05 UTC (rev 119921)
@@ -5,7 +5,7 @@
pkgname=kmess
pkgver=2.0.6.2
-pkgrel=6
+pkgrel=7
pkgdesc="A MSN Messenger client for Linux"
arch=('i686' 'x86_64')
url='http://kmess.sourceforge.net/'
@@ -13,8 +13,8 @@
depends=('kdebase-lib')
makedepends=('automoc4' 'cmake' 'optipng')
optdepends=('cabextract: provides winks support')
-install=${pkgname}.install
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.bz2"
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.bz2
giflib-5.0.patch
fix-crash-in-contactlistmodel.patch)
md5sums=('a2e57911713308bef81b9347135cc5dd'
@@ -24,26 +24,29 @@
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # Fix invalid PNG images to work with libpng 1.6
+# Fix invalid PNG images to work with libpng 1.6
find -name '*.png' -exec optipng -quiet -force -fix {} +
patch -Np0 -i ../giflib-5.0.patch
- # Fix crash in ContactListModel (FS#32402)
+# Fix crash in ContactListModel (FS#32402)
patch -Np1 -i ../fix-crash-in-contactlistmodel.patch
}
build() {
cd "${srcdir}"
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
+
make
}
package() {
cd "${srcdir}"/build
+
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list