blob: 827e87530279e087c41279e9f905173d04a1282a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Flaviu Tamas <me@flaviutamas.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=polkit-qt4
pkgver=0.112.0+git20180107
pkgrel=1
pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
arch=(x86_64 i686)
url='https://www.kde.org/'
license=(LGPL)
depends=(polkit qt4)
makedepends=(cmake polkit qt4 git)
#source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgbase}-1-${pkgver}.tar.bz2")
source=("$pkgname"::"git+https://anongit.kde.org/polkit-qt-1.git#commit=cbecf60ac7b5c17cf37503d6675bf5542efbab29")
sha256sums=('SKIP')
build() {
mkdir -p "$pkgname/build"
cd "$pkgname/build"
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_DESTINATION=/usr/lib \
-DUSE_QT4=ON
make
}
package() {
cd "$pkgname/build"
make DESTDIR="$pkgdir" install
}
|