Date: Monday, October 5, 2015 @ 21:56:30 Author: arojas Revision: 248378
archrelease: copy trunk to testing-i686, testing-x86_64 Added: qca/repos/testing-i686/ qca/repos/testing-i686/PKGBUILD (from rev 248377, qca/trunk/PKGBUILD) qca/repos/testing-x86_64/ qca/repos/testing-x86_64/PKGBUILD (from rev 248377, qca/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 62 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) Copied: qca/repos/testing-i686/PKGBUILD (from rev 248377, qca/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-10-05 19:56:30 UTC (rev 248378) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgbase=qca +pkgname=(qca-qt4 qca-qt5) +pkgver=2.1.1 +pkgrel=1 +pkgdesc="Qt Cryptographic Architecture" +arch=(i686 x86_64) +url="http://delta.affinix.com/qca/" +license=(LGPL) +makedepends=(qt4 qt5-base cmake doxygen nss pkcs11-helper) +source=("http://download.kde.org/stable/$pkgbase/$pkgver/src/$pkgbase-$pkgver.tar.xz") +md5sums=('657cc701316600199199a6b6cb2c73c9') + +prepare() { + mkdir -p build{4,5} +} + +build() { + cd build4 + cmake ../$pkgbase-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=OFF \ + -DQCA_LIBRARY_INSTALL_DIR=/usr/lib \ + -DQCA_FEATURE_INSTALL_DIR=/usr/share/qt4/mkspecs/features/ \ + -DQT4_BUILD=ON + make + + cd ../build5 + cmake ../$pkgbase-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=OFF \ + -DQCA_INSTALL_IN_QT_PREFIX=ON \ + -DQCA_MAN_INSTALL_DIR=/usr/share/man + make +} + +package_qca-qt4() { + depends=(qt4 nss) + optdepends=('pkcs11-helper: PKCS-11 plugin') + conflicts=(qca qca-gnupg qca-ossl) + provides=(qca qca-gnupg qca-ossl) + replaces=(qca qca-gnupg qca-ossl) + + cd build4 + make DESTDIR="$pkgdir" install +} + +package_qca-qt5() { + depends=(qt5-base nss) + optdepends=('pkcs11-helper: PKCS-11 plugin') + + cd build5 + make DESTDIR="$pkgdir" install +} + + Copied: qca/repos/testing-x86_64/PKGBUILD (from rev 248377, qca/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-10-05 19:56:30 UTC (rev 248378) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgbase=qca +pkgname=(qca-qt4 qca-qt5) +pkgver=2.1.1 +pkgrel=1 +pkgdesc="Qt Cryptographic Architecture" +arch=(i686 x86_64) +url="http://delta.affinix.com/qca/" +license=(LGPL) +makedepends=(qt4 qt5-base cmake doxygen nss pkcs11-helper) +source=("http://download.kde.org/stable/$pkgbase/$pkgver/src/$pkgbase-$pkgver.tar.xz") +md5sums=('657cc701316600199199a6b6cb2c73c9') + +prepare() { + mkdir -p build{4,5} +} + +build() { + cd build4 + cmake ../$pkgbase-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=OFF \ + -DQCA_LIBRARY_INSTALL_DIR=/usr/lib \ + -DQCA_FEATURE_INSTALL_DIR=/usr/share/qt4/mkspecs/features/ \ + -DQT4_BUILD=ON + make + + cd ../build5 + cmake ../$pkgbase-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=OFF \ + -DQCA_INSTALL_IN_QT_PREFIX=ON \ + -DQCA_MAN_INSTALL_DIR=/usr/share/man + make +} + +package_qca-qt4() { + depends=(qt4 nss) + optdepends=('pkcs11-helper: PKCS-11 plugin') + conflicts=(qca qca-gnupg qca-ossl) + provides=(qca qca-gnupg qca-ossl) + replaces=(qca qca-gnupg qca-ossl) + + cd build4 + make DESTDIR="$pkgdir" install +} + +package_qca-qt5() { + depends=(qt5-base nss) + optdepends=('pkcs11-helper: PKCS-11 plugin') + + cd build5 + make DESTDIR="$pkgdir" install +} + +