mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
34 lines
879 B
Bash
34 lines
879 B
Bash
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
|
|
|
pkgname=polkit-qt
|
|
pkgver=0.103.0
|
|
pkgrel=4
|
|
pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kdesupport/polkit-qt-1'
|
|
license=('LGPL')
|
|
depends=('polkit' 'qt')
|
|
makedepends=('cmake' 'automoc4')
|
|
source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2"
|
|
'polkit1_auth.diff')
|
|
md5sums=('a105e233e6733fb072c9080cd7ae1af2'
|
|
'ccfa0fb7273939fde2431628795ff527')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-1-${pkgver}"
|
|
patch -p1 -i "${srcdir}"/polkit1_auth.diff
|
|
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-1-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|