summaryrefslogtreecommitdiff
path: root/extra/polkit-qt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/polkit-qt/PKGBUILD')
-rw-r--r--extra/polkit-qt/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/extra/polkit-qt/PKGBUILD b/extra/polkit-qt/PKGBUILD
index 82f5801b6..d77ee8182 100644
--- a/extra/polkit-qt/PKGBUILD
+++ b/extra/polkit-qt/PKGBUILD
@@ -4,18 +4,19 @@
pkgname=polkit-qt
pkgver=0.103.0
-pkgrel=1
+pkgrel=2
pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kdesupport/polkit-qt-1'
license=('LGPL')
-depends=('polkit' 'qt')
+depends=('polkit' 'qt4')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2")
md5sums=('a105e233e6733fb072c9080cd7ae1af2')
build() {
- cd "${srcdir}"
+ . /etc/profile.d/qt4.sh
+
mkdir build
cd build
cmake ../${pkgname}-1-${pkgver} \
@@ -25,6 +26,6 @@ build() {
}
package() {
- cd "${srcdir}/build"
+ cd build
make DESTDIR="${pkgdir}" install
}