git » polkit-qt.git » commit 77b6c8e

qt4 rebuild

author Andrea Scarpino
2013-02-19 00:16:51 UTC
committer Andrea Scarpino
2013-02-19 00:16:51 UTC
parent 0145c3541b8f0c19a84ed60857ead6512ab6eb62

qt4 rebuild

PKGBUILD +5 -4

diff --git a/PKGBUILD b/PKGBUILD
index 82f5801..d77ee81 100644
--- a/PKGBUILD
+++ b/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
 }