mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 14:07:13 +08:00
33 lines
740 B
Bash
33 lines
740 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdecoration
|
|
source ../plasma.conf
|
|
|
|
pkgname=kdecoration
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="Plugin based library to create window decorations"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/workspace/kdecoration'
|
|
license=('LGPL')
|
|
depends=('qt5-base')
|
|
makedepends=('extra-cmake-modules')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|