diff options
Diffstat (limited to 'pcr/libqinfinity/PKGBUILD')
-rw-r--r-- | pcr/libqinfinity/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/libqinfinity/PKGBUILD b/pcr/libqinfinity/PKGBUILD new file mode 100644 index 000000000..fdd7ed0c4 --- /dev/null +++ b/pcr/libqinfinity/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: 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 +} |