mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 18:14:36 +08:00
36 lines
846 B
Bash
36 lines
846 B
Bash
# Contribution from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kscreen-frameworks
|
|
source ../plasma.conf
|
|
|
|
pkgname=kscreen
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="KDE's screen management software"
|
|
arch=('x86_64')
|
|
url='projects.kde.org/'
|
|
license=('LGPL')
|
|
depends=(kxmlgui libkscreen qt5-graphicaleffects hicolor-icon-theme)
|
|
makedepends=(extra-cmake-modules python3)
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
'SKIP' )
|
|
validpgpkeys=(${Pvalidpgpkeys[@]})
|
|
install=${pkgname}.install
|
|
|
|
prepare() {
|
|
mkdir -p ${srcdir}/build
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|