summaryrefslogtreecommitdiff
path: root/extra/konversation
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-05 23:15:23 +0000
committerroot <root@rshg054.dnsready.net>2011-12-05 23:15:23 +0000
commit55d1e19e71b453a0f47c599f281a2ad2644247d2 (patch)
treee4988a18e52a5f283c69611807002a1a20c918ed /extra/konversation
parent392d2d86b3657d90c3954a44dd6e3e5a4d12d455 (diff)
Mon Dec 5 23:15:23 UTC 2011
Diffstat (limited to 'extra/konversation')
-rw-r--r--extra/konversation/PKGBUILD28
-rw-r--r--extra/konversation/konversation.install1
2 files changed, 17 insertions, 12 deletions
diff --git a/extra/konversation/PKGBUILD b/extra/konversation/PKGBUILD
index e118d6562..3694bc377 100644
--- a/extra/konversation/PKGBUILD
+++ b/extra/konversation/PKGBUILD
@@ -1,26 +1,25 @@
-# $Id: PKGBUILD 90511 2010-09-12 10:03:56Z pierre $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 144356 2011-12-05 01:48:51Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: James Rayner <iphitus@gmail.com>
# Contributor: Sergio Jovani Guzman <moret@paretux.org>
pkgname=konversation
-pkgver=1.3.1
-pkgrel=2
+pkgver=1.4
+pkgrel=1
pkgdesc="A user friendly IRC client for KDE"
arch=('i686' 'x86_64')
url="http://konversation.kde.org"
-depends=('kdebase-runtime' 'kdepimlibs')
+depends=('kdebase-runtime' 'kdepimlibs' 'python')
makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml')
license=('GPL2' 'FDL')
install=${pkgname}.install
options=('!makeflags')
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('f43ac55e4925e9578e87b13fde173671')
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('90741721f68a02d4345b9006a8ae53bc49ef3777')
build() {
- cd ${srcdir}
- sed 's#/usr/bin/env python#/usr/bin/python2#' \
- -i ${pkgname}-${pkgver}/data/scripts/media
+ cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -31,6 +30,11 @@ build() {
}
package() {
- cd ${srcdir}/build
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+
+ # Remove a bunch of symlinks pointing to non-existant files
+ for lang in pt_BR uk sv et de en nl; do
+ rm "${pkgdir}"/usr/share/doc/kde/html/${lang}/konversation/common
+ done
}
diff --git a/extra/konversation/konversation.install b/extra/konversation/konversation.install
index e70c054ec..5a3809d3f 100644
--- a/extra/konversation/konversation.install
+++ b/extra/konversation/konversation.install
@@ -1,5 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {