summaryrefslogtreecommitdiff
path: root/extra/konversation/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/konversation/PKGBUILD')
-rw-r--r--extra/konversation/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/extra/konversation/PKGBUILD b/extra/konversation/PKGBUILD
index da5825e84..543cfd671 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' 'mips64el')
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
}