diff options
author | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
commit | 941550cbc215d608bd18439f99500b74fbb80f0d (patch) | |
tree | ced50aee5db693d8495b19c59d2bdbd6927c9393 /staging/konversation/PKGBUILD | |
parent | 9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff) |
Tue Oct 2 01:06:06 PDT 2012
Diffstat (limited to 'staging/konversation/PKGBUILD')
-rw-r--r-- | staging/konversation/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/staging/konversation/PKGBUILD b/staging/konversation/PKGBUILD new file mode 100644 index 000000000..e491f6801 --- /dev/null +++ b/staging/konversation/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 167386 2012-10-01 19:44:28Z 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.4 +pkgrel=2 +pkgdesc="A user friendly IRC client for KDE" +arch=('i686' 'x86_64') +url="http://konversation.kde.org" +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.xz") +sha1sums=('90741721f68a02d4345b9006a8ae53bc49ef3777') + +build() { + cd "${srcdir}" + 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 + + # 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 +} |