[arch-commits] Commit in prison/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Tue Feb 26 06:10:30 UTC 2013


    Date: Tuesday, February 26, 2013 @ 07:10:30
  Author: andrea
Revision: 178650

upgpkg: prison 1.0-2

qt4 rebuild

Modified:
  prison/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-26 06:08:57 UTC (rev 178649)
+++ PKGBUILD	2013-02-26 06:10:30 UTC (rev 178650)
@@ -3,18 +3,19 @@
 
 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}"
+  . /etc/profile.d/qt4.sh
+
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
@@ -24,6 +25,6 @@
 }
 
 package() {
-  cd "${srcdir}"/build
+  cd build
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list