# $Id: PKGBUILD 216185 2014-07-02 04:32:08Z pierre $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=qca pkgver=2.0.3 pkgrel=5 pkgdesc="Qt Cryptographic Architecture" arch=('i686' 'x86_64') url="http://delta.affinix.com/qca/" license=('LGPL') depends=('qt4' 'ca-certificates') source=("http://delta.affinix.com/download/${pkgname}/2.0/${pkgname}-${pkgver}.tar.bz2" 'gcc47.patch') md5sums=('fc15bd4da22b8096c51fcfe52d2fa309' 'dffc7367152d8888c1447253a0387a2a') prepare() { cd ${pkgname}-${pkgver} patch -p0 -i "${srcdir}"/gcc47.patch } build() { cd ${pkgname}-${pkgver} ./configure \ --prefix=/usr \ --disable-tests \ --certstore-path=/etc/ssl/certs/ca-certificates.crt \ --release \ --no-separate-debug-info make } package() { cd ${pkgname}-${pkgver} make INSTALL_ROOT="${pkgdir}" install }