author | Andrea Scarpino
<andrea@archlinux.org> 2013-02-26 06:01:32 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2013-02-26 06:01:32 UTC |
parent | 98a078d343e48991aea9c831d5333c0ecd29083e |
PKGBUILD | +5 | -4 |
diff --git a/PKGBUILD b/PKGBUILD index b56444a..55807ba 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,18 +2,19 @@ pkgname=libdbusmenu-qt pkgver=0.9.2 -pkgrel=1 +pkgrel=2 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=('qt') +depends=('qt4') makedepends=('cmake' 'doxygen' 'qjson') source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2") md5sums=('9a49484927669cd2ec91b3bf9ba8b79e') build() { - cd "${srcdir}" + . /etc/profile.d/qt4.sh + mkdir build cd build cmake ../${pkgname}-${pkgver} \ @@ -23,6 +24,6 @@ build() { } package() { - cd "${srcdir}/build" + cd build make DESTDIR="${pkgdir}" install }