mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 20:14:38 +08:00
32 lines
810 B
Bash
32 lines
810 B
Bash
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libqinfinity
|
|
|
|
pkgname=libqinfinity
|
|
pkgver=0.5.2
|
|
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' 'qt')
|
|
makedepends=('cmake')
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-v${pkgver}.tar.xz")
|
|
md5sums=('de78878142b492e2f9c79c3684ac2d23')
|
|
|
|
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
|
|
}
|