core/kdeclarative/PKGBUILD
2014-11-14 22:51:53 +00:00

39 lines
749 B
Bash

# Contributor : Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kdeclarative
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Provides integration of QML and KDE Frameworks'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdeclarative'
license=('LGPL')
depends=('kio')
makedepends=("extra-cmake-modules>=${KFECMVersion}")
checkdepends=("cmake" "xorg-server-xvfb")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run -s "-screen 0 640x480x24" make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}