summaryrefslogtreecommitdiff
path: root/extra/kte-collaborative/PKGBUILD
blob: 28cffd3909766f355a7dfb8568a4a9557320613d (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 207578 2014-03-12 12:15:55Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Antonio Rojas <nqn1976 @ gmail.com>

pkgname=kte-collaborative
pkgver=0.2.0
pkgrel=2
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
}