summaryrefslogtreecommitdiff
path: root/extra/kqtquickcharts/PKGBUILD
blob: e2018051ce6fb768ecc96ba76c519b8f03f7dc36 (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 217573 2014-07-21 20:16:07Z svenstaro $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=kqtquickcharts
pkgver=4.13.3
pkgrel=1
pkgdesc="A QtQuick plugin to render beautiful and interactive charts"
url="https://projects.kde.org/projects/kde/kdeedu/kqtquickcharts"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('dc14252cdfacb187a9b9ac891b7c0158108d8fc2')

prepare() {
  mkdir build
}

build() {
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}