summaryrefslogtreecommitdiff
path: root/extra/konversation/PKGBUILD
blob: da5825e84f2d66ae241d868e93992f29254bec42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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' 'mips64el')
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
}