summaryrefslogtreecommitdiff
path: root/community/kmess
diff options
context:
space:
mode:
Diffstat (limited to 'community/kmess')
-rw-r--r--community/kmess/PKGBUILD28
-rw-r--r--community/kmess/kmess.install11
2 files changed, 39 insertions, 0 deletions
diff --git a/community/kmess/PKGBUILD b/community/kmess/PKGBUILD
new file mode 100644
index 000000000..824d2ff72
--- /dev/null
+++ b/community/kmess/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 40761 2011-02-26 15:04:42Z mherych $
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Stefano Zamprogno <stefano.zamprogno@gmail.com>
+
+pkgname=kmess
+pkgver=2.0.6.1
+pkgrel=2
+pkgdesc="KMess is a MSN Messenger client for Linux."
+arch=('i686' 'x86_64')
+url="http://kmess.sourceforge.net/"
+license=('GPL')
+depends=('kdebase-lib')
+makedepends=('automoc4' 'cmake' 'docbook-xsl')
+optdepends=('cabextract: provides winks support')
+install=kmess.install
+source=(http://downloads.sourceforge.net/sourceforge/kmess/kmess-$pkgver.tar.bz2)
+md5sums=('bc960c0bacb38be6dc118a2d2a6e69a6')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
+
diff --git a/community/kmess/kmess.install b/community/kmess/kmess.install
new file mode 100644
index 000000000..c5571196e
--- /dev/null
+++ b/community/kmess/kmess.install
@@ -0,0 +1,11 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_remove() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}