git » prison.git » commit 6105765

qt4 rebuild

author Andrea Scarpino
2013-02-24 11:55:55 UTC
committer Andrea Scarpino
2013-02-24 11:55:55 UTC
parent 789cdc9d162a5dd2dab8ac86e991c7784381014e

qt4 rebuild

PKGBUILD +3 -4

diff --git a/PKGBUILD b/PKGBUILD
index 2bfb538..640e6ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,17 @@
 
 pkgname=prison
 pkgver=1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes"
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/kdesupport/prison'
 license=('GPL')
-depends=('qt' 'libdmtx' 'qrencode')
+depends=('qt4' 'libdmtx' 'qrencode')
 makedepends=('cmake')
 source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.gz")
 md5sums=('8baac61506e37a31482a0df4a5d02cd2')
 
 build() {
-  cd "${srcdir}"
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
@@ -23,6 +22,6 @@ build() {
 }
 
 package() {
-  cd "${srcdir}"/build
+  cd build
   make DESTDIR="${pkgdir}" install
 }