summaryrefslogtreecommitdiff
path: root/extra/qca/PKGBUILD
blob: 3af6d0908e9120b3c7d387b4e4de784c35b09d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 216185 2014-07-02 04:32:08Z pierre $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

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
}