[arch-commits] Commit in libolm/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Fri Jan 7 21:12:36 UTC 2022


    Date: Friday, January 7, 2022 @ 21:12:36
  Author: diabonas
Revision: 1096387

archrelease: copy trunk to community-x86_64

Added:
  libolm/repos/community-x86_64/PKGBUILD
    (from rev 1096386, libolm/trunk/PKGBUILD)
Deleted:
  libolm/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-07 21:12:25 UTC (rev 1096386)
+++ PKGBUILD	2022-01-07 21:12:36 UTC (rev 1096387)
@@ -1,57 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=('libolm' 'python-olm')
-pkgver=3.2.8
-_tag=effd8c15f12c99f5fbdc8f7338fd6a580ac33c5e # git rev-parse "$pkgver"
-pkgrel=1
-pkgdesc='Implementation of the Olm and Megolm cryptographic ratchets'
-arch=('x86_64')
-url='https://gitlab.matrix.org/matrix-org/olm'
-license=('APACHE')
-makedepends=('git' 'cmake' 'python' 'python-cffi' 'python-future' 'python-setuptools')
-checkdepends=('python-aspectlib' 'python-pytest' 'python-pytest-benchmark')
-source=("git+$url.git?signed#tag=$_tag")
-sha512sums=('SKIP')
-# PGP key can be obtained from https://packages.matrix.org/npm/olm/signing_key.asc
-validpgpkeys=('56CF24AEE5F4513280CC594BF75FDC22C1DE8453') # Matrix.org olm <olm at matrix.org>
-
-pkgver() {
-	cd olm
-	git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
-}
-
-build() {
-	cd olm
-	cmake -DCMAKE_INSTALL_PREFIX=/usr \
-	      -DCMAKE_BUILD_TYPE=None \
-	      -DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS}" \
-	      -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \
-	      -B build
-	cmake --build build
-
-	cd python
-	python setup.py build
-}
-
-check() {
-	cd olm/build/tests
-	ctest
-
-	cd ../../python
-	PYTHONPATH="$(find build -name 'lib.*' -type d -print)" LD_LIBRARY_PATH=../build python -m pytest
-}
-
-package_libolm() {
-	depends=('gcc-libs')
-	provides=('libolm.so')
-
-	cd olm/build
-	make DESTDIR="$pkgdir" install
-}
-
-package_python-olm() {
-	pkgdesc='Python bindings for Olm'
-	depends=('libolm' 'python' 'python-cffi' 'python-future' 'libolm.so')
-
-	cd olm/python
-	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: libolm/repos/community-x86_64/PKGBUILD (from rev 1096386, libolm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-07 21:12:36 UTC (rev 1096387)
@@ -0,0 +1,57 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=('libolm' 'python-olm')
+pkgver=3.2.9
+_tag=84b4910368b555035ef8f1c48bfb95324e3e4ce2 # git rev-parse "$pkgver"
+pkgrel=1
+pkgdesc='Implementation of the Olm and Megolm cryptographic ratchets'
+arch=('x86_64')
+url='https://gitlab.matrix.org/matrix-org/olm'
+license=('APACHE')
+makedepends=('git' 'cmake' 'python' 'python-cffi' 'python-future' 'python-setuptools')
+checkdepends=('python-aspectlib' 'python-pytest' 'python-pytest-benchmark')
+source=("git+$url.git?signed#tag=$_tag")
+sha512sums=('SKIP')
+# PGP key can be obtained from https://packages.matrix.org/npm/olm/signing_key.asc
+validpgpkeys=('56CF24AEE5F4513280CC594BF75FDC22C1DE8453') # Matrix.org olm <olm at matrix.org>
+
+pkgver() {
+	cd olm
+	git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+build() {
+	cd olm
+	cmake -DCMAKE_INSTALL_PREFIX=/usr \
+	      -DCMAKE_BUILD_TYPE=None \
+	      -DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS}" \
+	      -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \
+	      -B build
+	cmake --build build
+
+	cd python
+	python setup.py build
+}
+
+check() {
+	cd olm/build/tests
+	ctest
+
+	cd ../../python
+	PYTHONPATH="$(find build -name 'lib.*' -type d -print)" LD_LIBRARY_PATH=../build python -m pytest
+}
+
+package_libolm() {
+	depends=('gcc-libs')
+	provides=('libolm.so')
+
+	cd olm/build
+	make DESTDIR="$pkgdir" install
+}
+
+package_python-olm() {
+	pkgdesc='Python bindings for Olm'
+	depends=('libolm' 'python' 'python-cffi' 'python-future' 'libolm.so')
+
+	cd olm/python
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list