summaryrefslogtreecommitdiff
path: root/extra/kte-collaborative/PKGBUILD
blob: c6cfb42d50d9269603bf0c5af65a2f8014907ad5 (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
# $Id: PKGBUILD 197748 2013-10-29 07:58:30Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Antonio Rojas <nqn1976 @ gmail.com>

pkgname=kte-collaborative
pkgver=0.2.0
pkgrel=1
pkgdesc="A plugin for KTextEditor which allows to edit text documents collaboratively"
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/playground/network/kte-collaborative'
license=('GPL')
depends=('libqinfinity' 'telepathy-kde-common-internals')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-v${pkgver}.tar.xz")
md5sums=('e96718ed62b3bb315364fd03a4f2b463')

prepare() {
  mkdir build
}

build() {
  cd build
  cmake ../${pkgname}-v${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}