summaryrefslogtreecommitdiff
path: root/pcr/libqinfinity/PKGBUILD
blob: 2eaec29733560fdd325c4d464f1078c09ec694b0 (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
# Contributor (Arch): Antonio Rojas <nqn1976 @ gmail.com>
# Maintainer: parabola Aurélien Desbrières <aurelien@replicant.io>

pkgname=libqinfinity
pkgver=0.5.1
pkgrel=1
pkgdesc="Qt wrapper around libinfinity, a library for collaborative editing"
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/playground/libs/libqinfinity'
license=('LGPL')
depends=('libinfinity' 'qt4')
makedepends=('cmake')
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-v$pkgver.tar.xz")


build() {
	cd "$pkgname-v$pkgver"
	mkdir build
	cd build
	cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
	make
}

package() {
	cd "$pkgname-v$pkgver/build"
	make DESTDIR="$pkgdir" install
}