summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-tqca-tls/PKGBUILD
blob: db87b201da96c31429d34dd22b7b66bd9bbf2bde (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
38
# Maintainer: Michael Manley <mmanley@nasutek.com>
# Contributor: Pawel 'l0ner' Soltys <pwslts@gmail.com>
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
# Contributor: David C. Rankin <drankinatty at gmail dot com>

pkgname=tde-tqca-tls
pkgver=14.0.5
pkgrel=1
pkgdesc="Trinity SSL/TLS plugin for TQt Cryptographic Architecture (TQCA)"
arch=('i686' 'x86_64')
url='http://scm.trinitydesktop.org/scm/git/tqca-tls'
license=('GPL')
groups=('tde-core')
depends=('tde-tqtinterface' 'openssl-1.0')
makedepends=('pkgconfig')
provides=('tqca-tls')
conflicts=('trinity-tqca-tls')
replaces=('trinity-tqca-tls')
options=('staticlibs' 'libtool' '!strip')
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/dependencies/tqca-tls-R${pkgver}.tar.bz2")
md5sums=('21dd2d8680bdfccbbb68616682d5e898')

build() {
  cd ${srcdir}/dependencies/${pkgname#*-}

  msg "Starting configure..."
  ./configure --qtdir=${QTDIR} --with-openssl-inc=/usr/include/openssl-1.0 \
     --with-openssl-lib=/usr/lib/openssl-1.0

  msg "Building - $pkgname..."
  make  || return 1
}

package() {
  msg "Packaging - $pkgname"
  cd ${srcdir}/dependencies/${pkgname#*-}
  make INSTALL_ROOT="${pkgdir}" install
}