mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 08:54:36 +08:00
42 lines
779 B
Bash
42 lines
779 B
Bash
|
|
source ../plasma.conf
|
|
|
|
pkgname=kdeplasma-addons-kf5
|
|
_pkgname=kdeplasma-addons
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc='KDE Plasma Workspace'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/workspace/kdeplasma-addons'
|
|
license=('LGPL')
|
|
depends=('krunner' 'kdelibs4support')
|
|
makedepends=('extra-cmake-modules' 'kdoctools')
|
|
conflicts=('kdebase-workspace')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd ${_pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test || return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|