Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 798 Bytes
pkgname=qca-qt5
_pkgname=qca
pkgver=2.1.3
pkgrel=1
pkgdesc="Qt Cryptographic Architecture"
arch=('x86_64')
url="http://delta.affinix.com/qca/"
license=('LGPL')
depends=('qt5-base' 'ca-certificates' 'nss')
makedepends=('cmake')
#source=("http://delta.affinix.com/download/qca/2.0/${_pkgname}-${pkgver}.tar.gz")
source=("http://download.kde.org/stable/qca/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz")
md5sums=('5019cc29efcf828681cd93164238ce26')
prepare() {
cd ${_pkgname}-${pkgver}
#patch -p1 -i ${srcdir}/qt5.5.diff
}
build() {
mkdir -p build
cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DQCA_SUFFIX=qt5 \
-DQCA_INSTALL_IN_QT_PREFIX=ON
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}