[arch-commits] Commit in konversation/trunk (PKGBUILD konversation.install)

Stéphane Gaudreault stephane at archlinux.org
Mon Dec 5 01:48:42 UTC 2011


    Date: Sunday, December 4, 2011 @ 20:48:41
  Author: stephane
Revision: 144355

upgpkg: konversation 1.4-1

version bump

Modified:
  konversation/trunk/PKGBUILD
  konversation/trunk/konversation.install

----------------------+
 PKGBUILD             |   26 +++++++++++++++-----------
 konversation.install |    1 +
 2 files changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-05 00:37:08 UTC (rev 144354)
+++ PKGBUILD	2011-12-05 01:48:41 UTC (rev 144355)
@@ -1,26 +1,25 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: James Rayner <iphitus at gmail.com>
 # Contributor: Sergio Jovani Guzman <moret at 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 @@
 }
 
 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
 }

Modified: konversation.install
===================================================================
--- konversation.install	2011-12-05 00:37:08 UTC (rev 144354)
+++ konversation.install	2011-12-05 01:48:41 UTC (rev 144355)
@@ -1,5 +1,6 @@
 post_install() {
 	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+   update-desktop-database -q
 }
 
 post_upgrade() {




More information about the arch-commits mailing list