kservice: initial import

This commit is contained in:
Fabian 2014-01-18 14:31:16 +00:00
parent 3eab28830e
commit 124c372a09

42
kservice/PKGBUILD Normal file
View File

@ -0,0 +1,42 @@
# Contributor : Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kservice
pkgver=${KFVersion}
pkgrel=1
pkgdesc='KService'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kservice'
license=('LGPL')
depends=('ki18n' 'kconfig' 'kcrash' 'kdbusaddons')
makedepends=('extra-cmake-modules' 'kdoctools')
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('d2d147289d5e3e706c81d193895926c3')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib \
-DSYSCONF_INSTALL_DIR=/etc
make -j
}
check() {
cd build
msg "currently failing, needs GUI?"
make test | return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}