author | Andrea Scarpino
<andrea@archlinux.org> 2013-02-26 06:08:46 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2013-02-26 06:08:46 UTC |
parent | bd6b0c2e0f46f8fa6f2302c18f2b1b3915d0701d |
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 }