core/kactivities-frameworks/PKGBUILD

40 lines
824 B
Bash
Raw Normal View History

2014-06-22 23:48:57 +08:00
source ../frameworks.conf
pkgname=kactivities-frameworks
_pkgname=kactivities
pkgver=${KFVersion}
2014-08-10 23:05:41 +08:00
pkgrel=1
2014-06-22 23:48:57 +08:00
pkgdesc="Core components for the KDE's Activities"
2014-08-10 23:05:41 +08:00
arch=('x86_64')
2014-06-22 23:48:57 +08:00
url='https://projects.kde.org/projects/kde/kdelibs/kactivities'
license=('LGPL')
2014-09-17 05:34:26 +08:00
depends=('kcmutils' 'kdeclarative')
makedepends=('extra-cmake-modules' 'boost' 'python')
2014-06-22 23:48:57 +08:00
options=("debug")
2014-08-10 23:05:41 +08:00
groups=('kf5')
2014-06-22 23:48:57 +08:00
source=("$KFServer/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
prepare() {
mkdir -p ${srcdir}/build
}
build() {
cd ${srcdir}/build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
check() {
cd ${srcdir}/build
make test
}
package() {
cd ${srcdir}/build
make DESTDIR="${pkgdir}" install
}