summaryrefslogtreecommitdiff
path: root/extra/konversation/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/konversation/PKGBUILD')
-rw-r--r--extra/konversation/PKGBUILD36
1 files changed, 36 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
+}