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

Pierre Schmitz pierre at archlinux.org
Tue Jul 22 11:51:48 EDT 2008


    Date: Tuesday, July 22, 2008 @ 11:51:48
  Author: pierre
Revision: 5999

upgpkg: qca 2.0.1-2

Modified:
  qca/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-22 14:55:55 UTC (rev 5998)
+++ PKGBUILD	2008-07-22 15:51:48 UTC (rev 5999)
@@ -3,20 +3,28 @@
 
 pkgname=qca
 pkgver=2.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Qt Cryptographic Architecture"
 arch=('i686' 'x86_64')
 url="http://delta.affinix.com/qca/"
 license=('LGPL')
-depends=('qt' 'ca-certificates')
+depends=('qt' 'nss' 'libgcrypt' 'libsasl' 'openssl' 'ca-certificates')
 makedepends=('cmake' 'pkgconfig' 'gnupg')
-source=("http://delta.affinix.com/download/qca/2.0/${pkgname}-${pkgver}.tar.bz2")
+source=("ftp://ftp.archlinux.org/other/qca/${pkgname}-${pkgver}.tar.bz2")
 options=(!libtool)
-md5sums=('a0a87d0b3210e23f8c1713562282b7d6')
+md5sums=('4251792ba8b178deb130504311878830')
 
 build() {
-	cd $srcdir/${pkgname}-${pkgver}
-	./configure --prefix=/usr --no-separate-debug-info --disable-tests
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
 	make
-	make INSTALL_ROOT=$pkgdir install
+	make DESTDIR=$pkgdir install
+
+	# fix mkspecs
+	mkdir $pkgdir/usr/share/qt
+	mv $pkgdir/usr/mkspecs $pkgdir/usr/share/qt
 }
\ No newline at end of file





More information about the arch-commits mailing list