git » libdbusmenu-qt.git » commit 98a078d

Undo the qt/qt4 replacement

author Andrea Scarpino
2013-02-25 16:58:40 UTC
committer Andrea Scarpino
2013-02-25 16:58:40 UTC
parent 8f5d67c153e3ad198e19ba226f2d97c7bcfa94e7

Undo the qt/qt4 replacement

PKGBUILD +4 -5

diff --git a/PKGBUILD b/PKGBUILD
index 55807ba..b56444a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,18 @@
 
 pkgname=libdbusmenu-qt
 pkgver=0.9.2
-pkgrel=2
+pkgrel=1
 pkgdesc="A library that provides a Qt implementation of the DBusMenu spec"
 arch=('i686' 'x86_64')
 url="https://launchpad.net/libdbusmenu-qt"
 license=('GPL')
-depends=('qt4')
+depends=('qt')
 makedepends=('cmake' 'doxygen' 'qjson')
 source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('9a49484927669cd2ec91b3bf9ba8b79e')
 
 build() {
-  . /etc/profile.d/qt4.sh
-
+  cd "${srcdir}"
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
@@ -24,6 +23,6 @@ build() {
 }
 
 package() {
-  cd build
+  cd "${srcdir}/build"
   make DESTDIR="${pkgdir}" install
 }