mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 07:04:37 +08:00
31 lines
704 B
Bash
31 lines
704 B
Bash
|
# $Id: $
|
||
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||
|
|
||
|
pkgname=polkit-qt
|
||
|
pkgver=0.95.1
|
||
|
pkgrel=1
|
||
|
pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='http://www.kde.org'
|
||
|
license=('LGPL')
|
||
|
depends=('polkit' 'qt')
|
||
|
makedepends=('cmake' 'automoc4')
|
||
|
source=("ftp://ftp.kde.org/pub/kde/stable/${pkgname}-1/${pkgname}-1-${pkgver}.tar.bz2")
|
||
|
md5sums=('b5c5017058ab0f3bc7eb337a7c66e0bc')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}
|
||
|
mkdir build
|
||
|
cd build
|
||
|
cmake ../${pkgname}-1-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DCMAKE_SKIP_RPATH=ON
|
||
|
make || return 1
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${srcdir}/build
|
||
|
make DESTDIR=$pkgdir install
|
||
|
}
|