core/kplotting/PKGBUILD

42 lines
805 B
Bash
Raw Normal View History

2014-01-19 01:28:54 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kplotting
pkgver=${KFVersion}
2014-08-10 23:05:41 +08:00
pkgrel=1
2014-01-19 01:28:54 +08:00
pkgdesc='Graph drawing library'
2014-08-10 23:05:41 +08:00
arch=('x86_64')
2014-01-19 01:28:54 +08:00
url='https://projects.kde.org/projects/frameworks/kplotting'
license=('LGPL')
depends=('qt5-base')
makedepends=('extra-cmake-modules')
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
2014-06-22 06:35:17 +08:00
sha256sums=( $(getSum ${pkgname}) )
2014-01-19 01:28:54 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
check() {
cd build
msg "doesn't work currently, needs gui?"
make test || return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}