diff options
Diffstat (limited to 'extra/libqinfinity/PKGBUILD')
-rw-r--r-- | extra/libqinfinity/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/libqinfinity/PKGBUILD b/extra/libqinfinity/PKGBUILD new file mode 100644 index 000000000..d7f16d1c6 --- /dev/null +++ b/extra/libqinfinity/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Antonio Rojas <nqn1976 @ gmail.com> + +pkgname=libqinfinity +pkgver=0.5.1 +pkgrel=2 +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") +md5sums=('ca40902e7a9a699d3d83138cb76d569a') + +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 +} |