Last active
January 11, 2024 05:06
-
-
Save MasWag/4dfb8b119faadb6fc0146f96be07ab63 to your computer and use it in GitHub Desktop.
PKGBUILD for Microsoft SEAL 4.1.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Masaki Waga <masakiwaga@gmail.com> | |
# Maintainer: Alex J. Malozemoff <amaloz@galois.com> | |
# Maintainer: Benjamin Cheng <ben@bcheng.me> | |
pkgname=sealcrypto | |
pkgver=4.1.1 | |
pkgrel=1 | |
pkgdesc='Microsoft library for fully homomorphic encryption' | |
arch=('x86_64') | |
url="https://www.microsoft.com/en-us/research/group/cryptography-research/" | |
license=('MIT') | |
makedepends=('cmake') | |
source=("https://github.com/Microsoft/SEAL/archive/${pkgver}.tar.gz") | |
sha256sums=('af9bf0f0daccda2a8b7f344f13a5692e0ee6a45fea88478b2b90c35648bf2672') | |
provides=('sealcrypto') | |
build() { | |
cd ${srcdir} | |
tar xf ${pkgver}.tar.gz | |
cmake -B build -S SEAL-${pkgver} \ | |
-DCMAKE_BUILD_TYPE='None' \ | |
-DCMAKE_INSTALL_PREFIX=/usr | |
cmake --build build | |
} | |
package() { | |
install -m644 -D ${srcdir}/SEAL-${pkgver}/LICENSE \ | |
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE | |
DESTDIR="${pkgdir}" cmake --install build | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment