author | Andrea Scarpino
<andrea@archlinux.org> 2013-02-18 23:57:38 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2013-02-18 23:57:38 UTC |
parent | 764234d770139285d93d28ca145f210288c87cda |
PKGBUILD | +5 | -4 |
diff --git a/PKGBUILD b/PKGBUILD index b9ffd1e..1e2fd50 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,18 +2,19 @@ pkgname=attica pkgver=0.4.1 -pkgrel=1 +pkgrel=2 pkgdesc='A Qt library that implements the Open Collaboration Services API' arch=('i686' 'x86_64') url='https://projects.kde.org/projects/kdesupport/attica' license=('LGPL') -depends=('qt') +depends=('qt4') makedepends=('cmake') source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2") md5sums=('b90983ec5d79e5ddcbc9146fa23cab72') 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 }