mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 12:14:36 +08:00
33 lines
680 B
Bash
33 lines
680 B
Bash
source ../plasma.conf
|
|
|
|
pkgname=xdg-desktop-portal-kde
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc='A backend implementation for xdg-desktop-portal using Qt/KF5'
|
|
arch=(x86_64)
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
|
license=(LGPL)
|
|
depends=(ki18n knotifications)
|
|
makedepends=(extra-cmake-modules python)
|
|
provides=(xdg-desktop-portal-impl)
|
|
groups=(plasma)
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
'SKIP' )
|
|
validpgpkeys=( ${Pvalidpgpkeys[@]} )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|