git » polkit-qt.git » commit bd6b0c2

Undo the qt/qt4 replacement

author Andrea Scarpino
2013-02-25 17:02:14 UTC
committer Andrea Scarpino
2013-02-25 17:02:14 UTC
parent 77b6c8e7658fd1c66b92414b01b44080e6cff068

Undo the qt/qt4 replacement

PKGBUILD +4 -5

diff --git a/PKGBUILD b/PKGBUILD
index d77ee81..82f5801 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,19 +4,18 @@
 
 pkgname=polkit-qt
 pkgver=0.103.0
-pkgrel=2
+pkgrel=1
 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' 'qt4')
+depends=('polkit' 'qt')
 makedepends=('cmake' 'automoc4')
 source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2")
 md5sums=('a105e233e6733fb072c9080cd7ae1af2')
 
 build() {
-  . /etc/profile.d/qt4.sh
-
+  cd "${srcdir}"
   mkdir build
   cd build
   cmake ../${pkgname}-1-${pkgver} \
@@ -26,6 +25,6 @@ build() {
 }
 
 package() {
-  cd build
+  cd "${srcdir}/build"
   make DESTDIR="${pkgdir}" install
 }