mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
32 lines
792 B
Bash
32 lines
792 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=polkit-qt
|
|
pkgver=0.103.0
|
|
pkgrel=2
|
|
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")
|
|
md5sums=('a105e233e6733fb072c9080cd7ae1af2')
|
|
|
|
build() {
|
|
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
|
|
}
|