mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 17:49:02 +08:00
44 lines
909 B
Bash
44 lines
909 B
Bash
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||
|
|
||
|
source ../plasma.conf
|
||
|
|
||
|
pkgname=bluedevil-kf5
|
||
|
_pkgname=bluedevil
|
||
|
pkgver=${PVersion}
|
||
|
pkgrel=1
|
||
|
pkgdesc="Library for making window decoration"
|
||
|
arch=('x86_64')
|
||
|
url='projects.kde.org/'
|
||
|
license=('LGPL')
|
||
|
depends=('qt5-base' 'kcoreaddons' 'kdbusaddons' 'kwidgetsaddons' 'ki18n' 'kiconthemes'
|
||
|
'knotifications' 'kio' 'shared-mime-info' 'libbluedevil-kf5')
|
||
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||
|
checkdepends=("cmake")
|
||
|
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
|
||
|
}
|