mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 18:47:14 +08:00
35 lines
888 B
Bash
35 lines
888 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/polkit-kde-frameworks
|
|
source ../plasma.conf
|
|
|
|
pkgname=polkit-kde-agent-frameworks
|
|
_pkgname=polkit-kde-agent-1
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc='Daemon providing a polkit authentication UI for KDE'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1/'
|
|
license=('LGPL')
|
|
depends=('knotifications')
|
|
replaces=('polkit-kde-agent')
|
|
conflicts=('polkit-kde-agent')
|
|
provides=('polkit-kde-agent')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver} \
|
|
-DLIBEXEC_INSTALL_DIR=lib/polkit-kde
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|