summaryrefslogtreecommitdiff
path: root/extra/qca/PKGBUILD
blob: e3682b678c9153f3ae80a63ffbfaf4f83c52c9c6 (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
# $Id: PKGBUILD 178977 2013-03-01 10:23:13Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=qca
pkgver=2.0.3
pkgrel=4
pkgdesc="Qt Cryptographic Architecture"
arch=('i686' 'x86_64' 'mips64el')
url="http://delta.affinix.com/qca/"
license=('LGPL')
depends=('qt4' 'ca-certificates')
source=("http://delta.affinix.com/download/qca/2.0/${pkgname}-${pkgver}.tar.bz2"
        'gcc47.patch')
md5sums=('fc15bd4da22b8096c51fcfe52d2fa309'
         'dffc7367152d8888c1447253a0387a2a')

build() {
    . /etc/profile.d/qt4.sh

	cd $srcdir/${pkgname}-${pkgver}
	patch -p0 -i ${srcdir}/gcc47.patch
	./configure \
		--prefix=/usr \
		--disable-tests \
		--certstore-path=/etc/ssl/certs/ca-certificates.crt \
		--release \
		--no-separate-debug-info
	make
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}
	make INSTALL_ROOT=${pkgdir} install
}