diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/konversation |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/konversation')
-rw-r--r-- | extra/konversation/PKGBUILD | 36 | ||||
-rw-r--r-- | extra/konversation/konversation.install | 11 |
2 files changed, 47 insertions, 0 deletions
diff --git a/extra/konversation/PKGBUILD b/extra/konversation/PKGBUILD new file mode 100644 index 000000000..e118d6562 --- /dev/null +++ b/extra/konversation/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 90511 2010-09-12 10:03:56Z pierre $ +# Maintainer: 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 +pkgdesc="A user friendly IRC client for KDE" +arch=('i686' 'x86_64') +url="http://konversation.kde.org" +depends=('kdebase-runtime' 'kdepimlibs') +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') + +build() { + cd ${srcdir} + sed 's#/usr/bin/env python#/usr/bin/python2#' \ + -i ${pkgname}-${pkgver}/data/scripts/media + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} diff --git a/extra/konversation/konversation.install b/extra/konversation/konversation.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/konversation/konversation.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |