core/libksysguard/PKGBUILD

39 lines
753 B
Bash
Raw Normal View History

2014-06-22 21:10:22 +08:00
source ../plasma.conf
pkgname=libksysguard
pkgver=${PVersion}
pkgrel=1
2014-06-22 21:10:22 +08:00
pkgdesc="KSysguard library"
2014-10-23 03:29:25 +08:00
arch=('x86_64')
2014-12-01 13:27:04 +08:00
url='https://projects.kde.org/projects/kde/workspace/libksysguard'
2014-06-22 21:10:22 +08:00
license=('LGPL')
2014-12-01 13:27:04 +08:00
depends=('libxres' 'kdelibs4support' 'plasma-framework')
makedepends=('extra-cmake-modules' 'kdoctools' 'python')
conflicts=('kde-workspace')
2014-06-22 21:10:22 +08:00
checkdepends=("cmake")
groups=('plasma')
options=("debug")
2014-10-23 03:29:25 +08:00
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
2014-06-22 21:10:22 +08:00
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
2014-12-01 13:27:04 +08:00
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
2014-06-22 21:10:22 +08:00
make
}
check() {
cd build
make test || return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}