Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kimi:telephony-to-merge
postquantumcryptoengine
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package postquantumcryptoengine
# Fix for error: bsdtar: Failed to set default locale # LANG=en_US.UTF-8 # not available, use C or POSIX LANG=C LC_ALL=${LANG} _pkgname=postquantumcryptoengine pkgname=postquantumcryptoengine pkgver=5.4.0~git.20240108 pkgrel=0 pkgdesc="Post Quantum algorithm integration to bzrtp" arch=('x86_64') url="https://gitlab.linphone.org/BC/public/postquantumcryptoengine" license=('GPL3') # With debug symbols options=(!strip) conflicts=($pkgname) provides=("$pkgname=$pkgver") depends=(liboqs) makedepends=(cmake ninja bctoolbox liboqs) source=(${_pkgname}-${pkgver}.tar.bz2) sha256sums=(SKIP) _uploaddir=/usr/src/packages/SOURCES _sourcedir=/usr/src/packages/BUILD/${pkgname}/src/${pkgname}-${pkgver} # srcdir is already defined as # ${srcdir}=/usr/src/packages/BUILD/${pkgname}/src _builddir=/usr/src/packages/BUILD/${pkgname}/build _pkgdir=/usr/src/packages/BUILD/${pkgname}/pkg/${pkgname} _installToDir=${_pkgdir} prepare() { echo "Move patching to build() section for verbose log output" # patch -d "${_sourcedir}" -p1 < fix.patch # patch -d "${_sourcedir}" --forward --strip=1 --input="${srcdir}/fix.patch" # patch -d "${_sourcedir}" --forward --strip=1 --input="${_uploaddir}/fix.patch" } build() { cmake -S "${_sourcedir}" -B "${_builddir}" \ -GNinja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_TESTS=NO \ -DENABLE_STATIC=NO \ -DENABLE_STRICT=NO ninja -C "${_builddir}" -v } package() { DESTDIR="${_installToDir}" ninja -C "${_builddir}" install -v echo echo pkgdir=${pkgdir} echo "--- Show files that will be packaged ---" find ${pkgdir} | sed "s|${pkgdir}||g" | sort echo "--- End show files that will be packaged ---" }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor