summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlsan Ali2020-03-14 22:31:58 +0500
committerAlsan Ali2020-03-14 22:31:58 +0500
commit4f6983b6c4a753ec4a067cb005c14c368fa3309a (patch)
treee54a8015d98847dcfc7f8ff1cb6a2cba57503582
parentc270d8ce26f8beb5f84d12299a03c583dc9e7005 (diff)
downloadaur-4f6983b6c4a753ec4a067cb005c14c368fa3309a.tar.gz
Updated PKGBUILD
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 43581766a4e..77c35e6aaed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Nicole Watterson <poisonimy at protonmail dot com>
pkgname=liboqs-git
-pkgver=0.2.0.r18.gb4b26228
+pkgver=0.2.0.r74.g795c1b79
pkgrel=1
pkgdesc="C library for quantum-safe cryptography."
arch=('any')
@@ -8,7 +8,7 @@ url="https://github.com/open-quantum-safe/liboqs"
license=('MIT')
groups=()
depends=()
-makedepends=('git' 'autoconf' 'automake' 'libtool' 'gcc' 'openssl' 'python-pytest' 'unzip' 'libxslt' 'doxygen' 'graphviz')
+makedepends=('cmake' 'gcc' 'ninja' 'openssl' 'python-pytest' 'python-pytest-xdist' 'unzip' 'libxslt' 'doxygen' 'graphviz')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
@@ -29,13 +29,13 @@ pkgver() {
build() {
cd "$srcdir/${pkgname%-git}"
- autoreconf -i
- ./configure
- make clean
- make -j
+ echo "$pkgdir"
+ mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" -GNinja ..
+ ninja
}
package() {
- cd "$srcdir/${pkgname%-git}"
- make DESTDIR="$pkgdir/" install
+ cd "$srcdir/${pkgname%-git}/build"
+ ninja install
}